]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid.h
sv_aircontrol_penalty
[xonotic/darkplaces.git] / vid.h
diff --git a/vid.h b/vid.h
index ea09fd1e01fa004821a899eb51819350902acf51..900628071844dd7e757952dc50028d6bef40d3e5 100644 (file)
--- a/vid.h
+++ b/vid.h
@@ -34,6 +34,9 @@ typedef enum renderpath_e
        RENDERPATH_GL13,
        RENDERPATH_GL20,
        RENDERPATH_CGGL,
+       RENDERPATH_D3D9,
+       RENDERPATH_D3D10,
+       RENDERPATH_D3D11,
 }
 renderpath_t;
 
@@ -59,11 +62,11 @@ typedef struct viddef_support_s
        qboolean ati_separate_stencil;
        qboolean ext_blend_minmax;
        qboolean ext_blend_subtract;
-       qboolean ext_compiled_vertex_array;
        qboolean ext_draw_range_elements;
        qboolean ext_framebuffer_object;
        qboolean ext_stencil_two_side;
        qboolean ext_texture_3d;
+       qboolean ext_texture_compression_s3tc;
        qboolean ext_texture_edge_clamp;
        qboolean ext_texture_filter_anisotropic;
 }
@@ -100,6 +103,7 @@ typedef struct viddef_s
        void *cgcontext;
 
        renderpath_t renderpath;
+       qboolean forcevbo; // some renderpaths can not operate without it
 
        unsigned int texunits;
        unsigned int teximageunits;
@@ -181,12 +185,13 @@ extern qboolean isG200;
 extern qboolean isRagePro;
 
 void *GL_GetProcAddress(const char *name);
-int GL_CheckExtension(const char *minglver_or_ext, const dllfunction_t *funcs, const char *disableparm, int silent);
+qboolean GL_CheckExtension(const char *minglver_or_ext, const dllfunction_t *funcs, const char *disableparm, int silent);
 
 void VID_Shared_Init(void);
 
 void GL_Init (void);
 
+void VID_ClearExtensions(void);
 void VID_CheckExtensions(void);
 
 void VID_Init (void);