]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_null.c
significant surface renderer optimizations
[xonotic/darkplaces.git] / vid_null.c
index 0b3f0c27b8de7f21cdb43f3b11047df1a4b26545..9accd0a6da7fc04ab6af45692746541f061efed1 100644 (file)
@@ -22,6 +22,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 int cl_available = false;
 
+qboolean vid_supportrefreshrate = false;
+
 void VID_Shutdown(void)
 {
 }
@@ -49,23 +51,16 @@ void InitSig(void)
 #endif
 }
 
-void VID_GetWindowSize (int *x, int *y, int *width, int *height)
-{
-       *x = *y = 0;
-       *width = 1;
-       *height = 1;
-}
-
-void VID_Finish (void)
+void VID_Finish (qboolean allowmousegrab)
 {
 }
 
-int VID_SetGamma(unsigned short *ramps)
+int VID_SetGamma(unsigned short *ramps, int rampsize)
 {
        return FALSE;
 }
 
-int VID_GetGamma(unsigned short *ramps)
+int VID_GetGamma(unsigned short *ramps, int rampsize)
 {
        return FALSE;
 }
@@ -75,7 +70,7 @@ void VID_Init(void)
        InitSig(); // trap evil signals
 }
 
-int VID_InitMode(int fullscreen, int width, int height, int bpp)
+int VID_InitMode(int fullscreen, int width, int height, int bpp, int refreshrate)
 {
        return false;
 }
@@ -89,10 +84,6 @@ void Sys_SendKeyEvents(void)
 {
 }
 
-void IN_Commands(void)
-{
-}
-
 void IN_Move(void)
 {
 }