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 fbea60980..40e323c60 100644
--- a/src/graphicsmanager.h
+++ b/src/graphicsmanager.h
@@ -37,6 +37,8 @@
#endif
+#include "sdlshared.h"
+
#include "utils/stringvector.h"
#include <SDL_stdinc.h>
@@ -50,6 +52,7 @@ class Graphics;
class TestMain;
struct FBOInfo;
+struct SDL_Window;
enum ScreenDensity
{
@@ -75,6 +78,9 @@ class GraphicsManager final
void setVideoMode();
+ SDL_Window *createWindow(const int w, const int h,
+ const int bpp, const int flags);
+
bool getAllVideoModes(StringVect &modeList);
void detectPixelSize();