summaryrefslogtreecommitdiff
path: root/src/sdl/sdl_glimp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdl/sdl_glimp.c')
-rw-r--r--src/sdl/sdl_glimp.c5
1 files changed, 1 insertions, 4 deletions
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 ) );
}
/*