summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-02 17:17:02 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-02 17:58:42 +0300
commit1933978cb800c2348e8891c69b28e85c9417b32d (patch)
tree955fc9530dcd4ed4ecb60ad9c38e213c77610d6d /src/graphics.h
parent2f3a3d08b0ba71972e20ae639a2077e9d4d17b94 (diff)
downloadmanaplus-1933978cb800c2348e8891c69b28e85c9417b32d.tar.gz
manaplus-1933978cb800c2348e8891c69b28e85c9417b32d.tar.bz2
manaplus-1933978cb800c2348e8891c69b28e85c9417b32d.tar.xz
manaplus-1933978cb800c2348e8891c69b28e85c9417b32d.zip
Use FBO for screenshots. Disabled for windows.
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/graphics.h b/src/graphics.h
index 5d496d654..03eecefff 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -251,6 +251,9 @@ class Graphics : public gcn::SDLGraphics
*/
virtual SDL_Surface *getScreenshot();
+ virtual void prepareScreenshot()
+ { }
+
virtual bool drawNet(int x1, int y1, int x2, int y2,
int width, int height);