about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorheinrich5991 <heinrich5991@gmail.com>2012-06-27 11:47:31 +0200
committeroy <Tom_Adams@web.de>2013-02-24 17:38:29 +0100
commit86fe9757c5ca48349bf6d4035ffa33f745026a7e (patch)
tree754a2292e727ab6fcc192b568cb02853b8282c9b /src
parent7b545f3ed941d45c3a42016b9de667a08f8d4dc6 (diff)
downloadzcatch-86fe9757c5ca48349bf6d4035ffa33f745026a7e.tar.gz
zcatch-86fe9757c5ca48349bf6d4035ffa33f745026a7e.zip
Removed useless enum
Diffstat (limited to 'src')
-rw-r--r--src/engine/client/backend_sdl.cpp2
-rw-r--r--src/engine/client/graphics_threaded.h7
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,