diff options
| -rw-r--r-- | src/engine/client/backend_sdl.cpp | 2 | ||||
| -rw-r--r-- | src/engine/client/graphics_threaded.h | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/src/engine/client/backend_sdl.cpp b/src/engine/client/backend_sdl.cpp index 18f1cee6..cb865bae 100644 --- a/src/engine/client/backend_sdl.cpp +++ b/src/engine/client/backend_sdl.cpp @@ -450,7 +450,7 @@ int CGraphicsBackend_SDL_OpenGL::Init(const char *pName, int *Width, int *Height } SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); - SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, Flags&CCommandBuffer::INITFLAG_VSYNC ? 1 : 0); + SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, Flags&IGraphicsBackend::INITFLAG_VSYNC ? 1 : 0); // set caption SDL_WM_SetCaption(pName, pName); diff --git a/src/engine/client/graphics_threaded.h b/src/engine/client/graphics_threaded.h index 253059ec..b88ee3cb 100644 --- a/src/engine/client/graphics_threaded.h +++ b/src/engine/client/graphics_threaded.h @@ -98,13 +98,6 @@ public: enum { - INITFLAG_FULLSCREEN = 1, - INITFLAG_VSYNC = 2, - INITFLAG_RESIZABLE = 4, - }; - - enum - { // PRIMTYPE_INVALID = 0, PRIMTYPE_LINES, |