diff options
Diffstat (limited to 'src/sdl')
-rw-r--r-- | src/sdl/sdl_gamma.c | 2 | ||||
-rw-r--r-- | src/sdl/sdl_glimp.c | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/sdl/sdl_gamma.c b/src/sdl/sdl_gamma.c index c341746a..873fe107 100644 --- a/src/sdl/sdl_gamma.c +++ b/src/sdl/sdl_gamma.c @@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # include <SDL.h> #endif -#include "../renderergl1/tr_local.h" +#include "../renderercommon/tr_common.h" #include "../qcommon/qcommon.h" /* diff --git a/src/sdl/sdl_glimp.c b/src/sdl/sdl_glimp.c index 4cc0afa6..63485c85 100644 --- a/src/sdl/sdl_glimp.c +++ b/src/sdl/sdl_glimp.c @@ -32,8 +32,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include <stdlib.h> #include <math.h> -//FIXME: factor out the bits that are actually needed here into a renderercommon header -#include "../renderergl1/tr_local.h" +#include "../renderercommon/tr_common.h" #include "../sys/sys_local.h" #include "sdl_icon.h" @@ -90,9 +89,7 @@ void GLimp_Shutdown( void ) SDL_QuitSubSystem( SDL_INIT_VIDEO ); screen = NULL; - Com_Memset( &glConfig, 0, sizeof( glConfig ) ); glConfig.displayAspect = oldDisplayAspect; - Com_Memset( &glState, 0, sizeof( glState ) ); } /* |