]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_backend.h
added vid.support struct containing extension detection flags, to
[xonotic/darkplaces.git] / gl_backend.h
index e8113e21130cb08e6687c8a499e357d0792bc165..b9506ef579f7ac7fed1635266aa7662d79874035 100644 (file)
@@ -2,9 +2,6 @@
 #ifndef GL_BACKEND_H
 #define GL_BACKEND_H
 
-// how many texture units to track state on (backendunits/backendimageunits/backendarrayunits are limited to this value)
-#define MAX_TEXTUREUNITS 64
-
 #define POLYGONELEMENTS_MAXPOINTS 258
 extern int polygonelement3i[(POLYGONELEMENTS_MAXPOINTS-2)*3];
 extern unsigned short polygonelement3s[(POLYGONELEMENTS_MAXPOINTS-2)*3];
@@ -105,7 +102,6 @@ void R_Mesh_TexCoordPointer(unsigned int unitnum, unsigned int numcomponents, co
 void R_Mesh_TexBindAll(unsigned int unitnum, int tex1d, int tex2d, int tex3d, int texcubemap, int texrectangle);
 // sets these are like TexBindAll with only one of the texture indices non-zero
 // (binds one texture type and unbinds all other types)
-void R_Mesh_TexBind1D(unsigned int unitnum, int texnum);
 void R_Mesh_TexBind(unsigned int unitnum, int texnum);
 void R_Mesh_TexBind3D(unsigned int unitnum, int texnum);
 void R_Mesh_TexBindCubeMap(unsigned int unitnum, int texnum);