X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FOpenGL_Windows.cpp;h=b25b0cba26dbf01ef8f5fc8d1c546105ee4bbe61;hb=663badee5c884c9aebcd745e70891831ac658878;hp=cc8103ce8e80e7cfbbf61f4093006d0c421c3aea;hpb=3b278cb284afd5c1538bbd8564f714a576469311;p=lugaru.git diff --git a/Source/OpenGL_Windows.cpp b/Source/OpenGL_Windows.cpp index cc8103c..b25b0cb 100644 --- a/Source/OpenGL_Windows.cpp +++ b/Source/OpenGL_Windows.cpp @@ -248,7 +248,7 @@ static void toggleFullscreen(){ exit(1); //reload opengl state initGL(); - for(std::vector::iterator it=Game::textures.begin(); it!=Game::textures.end(); it++){ + for(std::vector::iterator it=Game::textures.begin(); it!=Game::textures.end(); it++) { it->load(); } pgame->text.BuildFont(); @@ -362,9 +362,9 @@ Boolean SetUp (Game & game) } Uint32 sdlflags = SDL_OPENGL; - //TODO: commented out temporarily - //if (!cmdline("windowed")) - //sdlflags |= SDL_FULLSCREEN; + + if (!cmdline("windowed")) + sdlflags |= SDL_FULLSCREEN; SDL_WM_SetCaption("Lugaru", "Lugaru");