summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-22 14:47:53 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:15 +0300
commit5e4fcb8a6036746ec1b500297fa55989a80094b4 (patch)
tree915d788dcaf3bc39bed6985236fb879c3c93f6cb /src/graphicsmanager.h
parent2480ea4cc668ff99007dd6fb8b44911eea5d5287 (diff)
downloadmanaverse-5e4fcb8a6036746ec1b500297fa55989a80094b4.tar.gz
manaverse-5e4fcb8a6036746ec1b500297fa55989a80094b4.tar.bz2
manaverse-5e4fcb8a6036746ec1b500297fa55989a80094b4.tar.xz
manaverse-5e4fcb8a6036746ec1b500297fa55989a80094b4.zip
final SDL2 compilation fixes.
now it can be compiled, but still not works.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h
index 40e323c60..cca1e5898 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -52,6 +52,7 @@ class Graphics;
class TestMain;
struct FBOInfo;
+struct SDL_Renderer;
struct SDL_Window;
enum ScreenDensity
@@ -81,6 +82,11 @@ class GraphicsManager final
SDL_Window *createWindow(const int w, const int h,
const int bpp, const int flags);
+#ifdef USE_SDL2
+ SDL_Renderer *createRenderer(SDL_Window *const window,
+ const int flags);
+#endif
+
bool getAllVideoModes(StringVect &modeList);
void detectPixelSize();