From d67ee4f3b320ae44b3388dd5b8d93f628b943d5d Mon Sep 17 00:00:00 2001 From: Bradley Bell Date: Thu, 6 Nov 2003 23:28:47 +0000 Subject: [PATCH] smash textures, for non-linux, for real --- ChangeLog | 4 ++++ arch/ogl/sdlgl.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d9da2d58..ebd25f0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-11-06 Bradley Bell + + * arch/ogl/sdlgl.c: smash textures, for non-linux, for real + 2003-11-06 Bradley Bell * arch/ogl/gr.c, arch/ogl/sdlgl.c: smash textures on every diff --git a/arch/ogl/sdlgl.c b/arch/ogl/sdlgl.c index 802e8488..d902625f 100644 --- a/arch/ogl/sdlgl.c +++ b/arch/ogl/sdlgl.c @@ -1,4 +1,4 @@ -/* $Id: sdlgl.c,v 1.7 2003-11-06 08:58:53 btb Exp $ */ +/* $Id: sdlgl.c,v 1.8 2003-11-06 23:28:47 btb Exp $ */ /* * * Graphics functions for SDL-GL. @@ -35,7 +35,7 @@ int ogl_init_window(int x, int y){ if (gl_initialized){ if (x==curx && y==cury && curfull==ogl_fullscreen) return 0; -#ifndef __linux__ // Windows, at least, seems to need to reload every time. +#ifdef __linux__ // Windows, at least, seems to need to reload every time. if (ogl_fullscreen || curfull) #endif ogl_smash_texture_list_internal();//if we are or were fullscreen, changing vid mode will invalidate current textures -- 2.39.2