Browse Source

Bored at work. Did some Valgrind shit and fixed this 'error'.

Tommy Nguyen 15 years ago
parent
commit
684c309145
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/modules/graphics/opengl/Graphics.cpp

+ 1 - 0
src/modules/graphics/opengl/Graphics.cpp

@@ -37,6 +37,7 @@ namespace opengl
 		// created yet.
 		currentMode.width = 0;
 		currentMode.height = 0;
+		currentMode.fullscreen = 0;
 
 		// Window should be centered.
 		SDL_putenv(const_cast<char *>("SDL_VIDEO_CENTERED=center"));