]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_sdl.c
gl_textures: Optimize the gl_nopartialtextureupdates 0 path to accumulate partial...
[xonotic/darkplaces.git] / sys_sdl.c
index 3adfb98001cd86a685905093c36d645187ee8f74..982956b1bd942a22ef1016f61fe845390b57ccf6 100644 (file)
--- a/sys_sdl.c
+++ b/sys_sdl.c
@@ -1,3 +1,4 @@
+#include "darkplaces.h"
 
 #ifdef WIN32
 #include <io.h>
@@ -23,8 +24,6 @@
 #endif
 #endif
 
-#include "quakedef.h"
-
 sys_t sys;
 
 // =======================================================================
@@ -43,7 +42,7 @@ void Sys_Shutdown (void)
        SDL_Quit();
 }
 
-static qboolean nocrashdialog;
+static qbool nocrashdialog;
 void Sys_Error (const char *error, ...)
 {
        va_list argptr;
@@ -230,7 +229,7 @@ int main (int argc, char *argv[])
        return 0;
 }
 
-qboolean sys_supportsdlgetticks = true;
+qbool sys_supportsdlgetticks = true;
 unsigned int Sys_SDL_GetTicks (void)
 {
        return SDL_GetTicks();