]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid.h
R_ShadowMesh_Finish now discards empty meshs
[xonotic/darkplaces.git] / vid.h
diff --git a/vid.h b/vid.h
index 8076076c83fac72ce303dd516e4491600dd1952e..e892b80a9730f32b072968f9754e73f11d8c794f 100644 (file)
--- a/vid.h
+++ b/vid.h
@@ -49,6 +49,9 @@ extern cvar_t vid_width;
 extern cvar_t vid_height;
 extern cvar_t vid_bitsperpixel;
 extern cvar_t vid_mouse;
+extern cvar_t vid_stencil;
+
+extern int gl_stencil;
 
 // brand of graphics chip
 extern const char *gl_vendor;
@@ -94,15 +97,13 @@ 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 VID_Shared_Init(void);
 
 void GL_Init (void);
 
 void VID_CheckExtensions(void);
 
-void VID_Init (int fullscreen, int width, int height, int bpp);
+void VID_Init (void);
 // Called at startup
 
 void VID_Shutdown (void);
@@ -120,5 +121,10 @@ void VID_GetWindowSize (int *x, int *y, int *width, int *height);
 
 void VID_Finish (void);
 
+void VID_Restart_f(void);
+
+void VID_Open (void);
+void VID_Close (void);
+
 #endif