]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_null.c
fix typo
[xonotic/darkplaces.git] / vid_null.c
index 7daea1e5b02fb3e32b5c901391ec61d990ece0f0..41be51fab82ee2bf756314c48cfdd21ca4493321 100644 (file)
@@ -22,13 +22,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 int cl_available = false;
 
+qboolean vid_supportrefreshrate = false;
+
 void VID_Shutdown(void)
 {
 }
 
 void signal_handler(int sig)
 {
-       printf("Received signal %d, exiting...\n", sig);
+       Con_Printf("Received signal %d, exiting...\n", sig);
        Sys_Quit();
        exit(0);
 }
@@ -49,13 +51,6 @@ 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)
 {
 }
@@ -75,20 +70,11 @@ void VID_Init(void)
        InitSig(); // trap evil signals
 }
 
-int VID_InitMode(int fullscreen, int width, int height, int bpp)
-{
-       return false;
-}
-
-int GL_OpenLibrary(const char *name)
+int VID_InitMode(int fullscreen, int width, int height, int bpp, int refreshrate)
 {
        return false;
 }
 
-void GL_CloseLibrary(void)
-{
-}
-
 void *GL_GetProcAddress(const char *name)
 {
        return NULL;
@@ -98,10 +84,6 @@ void Sys_SendKeyEvents(void)
 {
 }
 
-void IN_Commands(void)
-{
-}
-
 void IN_Move(void)
 {
 }