summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-01 17:40:11 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-01 17:57:47 +0300
commit5359b7c20b9ee93989a840e555f0a2102b7bb806 (patch)
treea95017d22a4f3e2f57be59dd4826f3b823a65656 /src/render/graphics.h
parent222748a7e0c79225c66485898b913aa60f56cfe2 (diff)
downloadplus-5359b7c20b9ee93989a840e555f0a2102b7bb806.tar.gz
plus-5359b7c20b9ee93989a840e555f0a2102b7bb806.tar.bz2
plus-5359b7c20b9ee93989a840e555f0a2102b7bb806.tar.xz
plus-5359b7c20b9ee93989a840e555f0a2102b7bb806.zip
add SDL2 default render mode.
in this mode SDL using own driver with hardware acceleration.
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r--src/render/graphics.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
index 7dafcbc45..5025709ec 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -365,6 +365,9 @@ class Graphics : public gcn::Graphics
#ifdef USE_SDL2
void dumpRendererInfo(const char *const str,
const SDL_RendererInfo &info);
+
+ virtual void setRendererFlags(const uint32_t flags A_UNUSED)
+ { }
#endif
int mWidth;
int mHeight;