]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_shared.c
Split out TaskQueue into its own taskqueue.[ch] module, it doesn't depend on SDL2...
[xonotic/darkplaces.git] / vid_shared.c
index 093f9f7d34a0e45454fc84759342785ee1428215..37325bb4bb37da22eb4e18b504711a9a1d8e5f9f 100644 (file)
@@ -1,8 +1,6 @@
 
 #include "quakedef.h"
-#ifdef CONFIG_CD
 #include "cdaudio.h"
-#endif
 #include "image.h"
 
 #ifdef WIN32
@@ -72,9 +70,9 @@ qboolean in_client_mouse = true;
 float in_mouse_x, in_mouse_y;
 float in_windowmouse_x, in_windowmouse_y;
 
-// LordHavoc: if window is hidden, don't update screen
+// LadyHavoc: if window is hidden, don't update screen
 qboolean vid_hidden = true;
-// LordHavoc: if window is not the active window, don't hog as much CPU time,
+// LadyHavoc: if window is not the active window, don't hog as much CPU time,
 // let go of the mouse, turn off sound, and restore system gamma ramps...
 qboolean vid_activewindow = true;
 
@@ -1112,7 +1110,7 @@ void VID_BuildGammaTables(unsigned short *ramps, int rampsize)
                        ramps[i] = (int)floor(bound(0.0f, Image_sRGBFloatFromLinearFloat(ramps[i] / 65535.0f), 1.0f) * 65535.0f + 0.5f);
        }
 
-       // LordHavoc: this code came from Ben Winslow and Zinx Verituse, I have
+       // LadyHavoc: this code came from Ben Winslow and Zinx Verituse, I have
        // immensely butchered it to work with variable framerates and fit in with
        // the rest of darkplaces.
        //