]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_null.c
added -gl_driver commandline option, it's useless though (crashs when I try it on...
[xonotic/darkplaces.git] / vid_null.c
index 6a14679bcaf9dc239c69d5c94cb8a96378ba21d0..20e824846cd241e0ddbbc893ec60ce0c56bee0b2 100644 (file)
@@ -23,9 +23,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 int cl_available = false;
 
-// global video state
-viddef_t vid;
-
 void VID_Shutdown(void)
 {
 }
@@ -67,11 +64,16 @@ int VID_SetGamma(float prescale, float gamma, float scale, float base)
        return FALSE;
 }
 
-void VID_Init(int fullscreen, int width, int height, int bpp)
+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)
 {
        return false;