ogl_smash_texture_list_internal() should applay on windows in window mode as well to prevent texture problems
This commit is contained in:
parent
27f8c6fcc9
commit
951067dcac
|
@ -19,7 +19,9 @@ int ogl_init_window(int x, int y){
|
||||||
if (gl_initialized){
|
if (gl_initialized){
|
||||||
if (x==curx && y==cury && curfull==ogl_fullscreen)
|
if (x==curx && y==cury && curfull==ogl_fullscreen)
|
||||||
return 0;
|
return 0;
|
||||||
|
#ifdef __LINUX__
|
||||||
if (ogl_fullscreen || curfull)
|
if (ogl_fullscreen || curfull)
|
||||||
|
#endif
|
||||||
ogl_smash_texture_list_internal();//if we are or were fullscreen, changing vid mode will invalidate current textures
|
ogl_smash_texture_list_internal();//if we are or were fullscreen, changing vid mode will invalidate current textures
|
||||||
}
|
}
|
||||||
SDL_WM_SetCaption(DESCENT_VERSION " " D1X_DATE, "Descent");
|
SDL_WM_SetCaption(DESCENT_VERSION " " D1X_DATE, "Descent");
|
||||||
|
|
Loading…
Reference in a new issue