]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - dpsoftrast.h
GL20 path now uses same shader as GLES2 (albeit with the precision
[xonotic/darkplaces.git] / dpsoftrast.h
index b724940f8d94d0f6ef39e86b15224ed6c9f14819..28d72cabbee72558ba01f8a14a6775f6c3870109 100644 (file)
@@ -123,20 +123,20 @@ typedef enum gl20_texunit_e
 }
 gl20_texunit;
 
-typedef enum gles2_attrib_e
+typedef enum glsl_attrib_e
 {
-       GLES2ATTRIB_POSITION = 0,
-       GLES2ATTRIB_COLOR = 1,
-       GLES2ATTRIB_TEXCOORD0 = 2,
-       GLES2ATTRIB_TEXCOORD1 = 3,
-       GLES2ATTRIB_TEXCOORD2 = 4,
-       GLES2ATTRIB_TEXCOORD3 = 5,
-       GLES2ATTRIB_TEXCOORD4 = 6,
-       GLES2ATTRIB_TEXCOORD5 = 7,
-       GLES2ATTRIB_TEXCOORD6 = 8,
-       GLES2ATTRIB_TEXCOORD7 = 9,
+       GLSLATTRIB_POSITION = 0,
+       GLSLATTRIB_COLOR = 1,
+       GLSLATTRIB_TEXCOORD0 = 2,
+       GLSLATTRIB_TEXCOORD1 = 3,
+       GLSLATTRIB_TEXCOORD2 = 4,
+       GLSLATTRIB_TEXCOORD3 = 5,
+       GLSLATTRIB_TEXCOORD4 = 6,
+       GLSLATTRIB_TEXCOORD5 = 7,
+       GLSLATTRIB_TEXCOORD6 = 8,
+       GLSLATTRIB_TEXCOORD7 = 9,
 }
-gles2_attrib;
+glsl_attrib;
 
 // this enum selects which of the glslshadermodeinfo entries should be used
 typedef enum shadermode_e