summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
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();