]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid.h
Thanks to Elric for adding dpmaster support!
[xonotic/darkplaces.git] / vid.h
diff --git a/vid.h b/vid.h
index 265d6e0de615f8a04edd06b73c18e18eb12d4d89..6c23c88b1490b9d2210238eccccc36a56c88134d 100644 (file)
--- a/vid.h
+++ b/vid.h
@@ -22,6 +22,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #ifndef VID_H
 #define VID_H
 
+extern int cl_available;
+
 typedef struct
 {
        // these are set with VID_GetWindowSize and can change from frame to frame
@@ -92,15 +94,14 @@ void GL_CloseLibrary(void);
 void *GL_GetProcAddress(const char *name);
 int GL_CheckExtension(const char *name, const gl_extensionfunctionlist_t *funcs, const char *disableparm, int silent);
 
-double VID_CompareMode(int width1, int height1, int bpp1, int width2, int height2, int bpp2);
-
 void VID_InitCvars(void);
 
 void GL_Init (void);
 
 void VID_CheckExtensions(void);
 
-void VID_Init (int fullscreen, int width, int height);
+void VID_Init (void);
+int VID_Mode(int fullscreen, int width, int height, int bpp);
 // Called at startup
 
 void VID_Shutdown (void);