exit(1);
//reload opengl state
initGL();
- for(std::vector<TextureInfo>::iterator it=Game::textures.begin(); it!=Game::textures.end(); it++){
+ for(std::vector<TextureInfo>::iterator it=Game::textures.begin(); it!=Game::textures.end(); it++) {
it->load();
}
pgame->text.BuildFont();
}
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");