From 0d15e50542e1bd791bc1d87744dcca9971e040f6 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 16 Feb 2013 20:58:04 +0000 Subject: Add renderercommon/tr_common.h --- src/sdl/sdl_gamma.c | 2 +- src/sdl/sdl_glimp.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'src/sdl') 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 #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 #include -//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 ) ); } /* -- cgit