]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid.h
Fix more Mod_ValidateElements sequencing issues - always generate
[xonotic/darkplaces.git] / vid.h
diff --git a/vid.h b/vid.h
index 91c42f0a932558b968e7a2d63a0373327cfe0cfb..71404c2f5bac5eefbb2e35e9033e11b53ad6acda 100644 (file)
--- a/vid.h
+++ b/vid.h
@@ -30,14 +30,7 @@ extern int cl_available;
 
 typedef enum renderpath_e
 {
-       RENDERPATH_GL11,
-       RENDERPATH_GL13,
        RENDERPATH_GL20,
-       RENDERPATH_D3D9,
-       RENDERPATH_D3D10,
-       RENDERPATH_D3D11,
-       RENDERPATH_SOFT,
-       RENDERPATH_GLES1,
        RENDERPATH_GLES2
 }
 renderpath_t;
@@ -62,14 +55,12 @@ typedef struct viddef_support_s
        qboolean arb_texture_non_power_of_two;
        qboolean arb_vertex_buffer_object;
        qboolean arb_uniform_buffer_object;
-       qboolean ati_separate_stencil;
        qboolean ext_blend_minmax;
        qboolean ext_blend_subtract;
        qboolean ext_blend_func_separate;
        qboolean ext_draw_range_elements;
        qboolean ext_framebuffer_object;
        qboolean ext_packed_depth_stencil;
-       qboolean ext_stencil_two_side;
        qboolean ext_texture_3d;
        qboolean ext_texture_compression_s3tc;
        qboolean ext_texture_edge_clamp;
@@ -133,13 +124,6 @@ typedef struct viddef_s
 
        viddef_support_t support;
 
-       // in RENDERPATH_SOFT this is a 32bpp native-endian ARGB framebuffer
-       // (native-endian ARGB meaning that in little endian it is BGRA bytes,
-       //  in big endian it is ARGB byte order, the format is converted during
-       //  blit to the window)
-       unsigned int *softpixels;
-       unsigned int *softdepthpixels;
-
        int forcetextype; // always use GL_BGRA for D3D, always use GL_RGBA for GLES, etc
 } viddef_t;
 
@@ -179,10 +163,6 @@ extern qboolean vid_hidden;
 extern qboolean vid_activewindow;
 extern qboolean vid_supportrefreshrate;
 
-extern cvar_t vid_soft;
-extern cvar_t vid_soft_threads;
-extern cvar_t vid_soft_interlace;
-
 extern cvar_t vid_fullscreen;
 extern cvar_t vid_width;
 extern cvar_t vid_height;