]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_wgl.c
fix for EF_FLAME and lots of other bugs with 16bit/8bit fields (modelindex, frame...
[xonotic/darkplaces.git] / vid_wgl.c
index e6f3133f0a8e9f278b9799447352c2f93f45f6d6..08f7cdd435feb24b747eddd0e964d4107ec10fac 100644 (file)
--- a/vid_wgl.c
+++ b/vid_wgl.c
@@ -97,8 +97,6 @@ HWND WINAPI InitializeWindow (HINSTANCE hInstance, int nCmdShow);
 
 viddef_t       vid;                            // global video state
 
-float          gldepthmin, gldepthmax;
-
 modestate_t    modestate = MS_UNINIT;
 
 void VID_MenuDraw (void);
@@ -251,7 +249,8 @@ qboolean VID_SetFullDIBMode (int modenum)
 
 int VID_SetMode (int modenum)
 {
-       int                             original_mode, temp;
+       int                             original_mode;
+       //int                           temp;
        qboolean                stat = 0;
     MSG                                msg;
 
@@ -259,8 +258,8 @@ int VID_SetMode (int modenum)
                Sys_Error ("Bad video mode\n");
 
 // so Con_Printfs don't mess us up by forcing vid and snd updates
-       temp = scr_disabled_for_loading;
-       scr_disabled_for_loading = true;
+//     temp = scr_disabled_for_loading;
+//     scr_disabled_for_loading = true;
 
        CDAudio_Pause ();
 
@@ -303,7 +302,7 @@ int VID_SetMode (int modenum)
        VID_UpdateWindowStatus ();
 
        CDAudio_Resume ();
-       scr_disabled_for_loading = temp;
+//     scr_disabled_for_loading = temp;
 
        if (!stat)
                Sys_Error ("Couldn't set video mode");