]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_backend.h
migrated a large number of #define MAX values to quakedef.h and added a
[xonotic/darkplaces.git] / gl_backend.h
index e8113e21130cb08e6687c8a499e357d0792bc165..6332865b26900d940526eadc393e03c5d603580f 100644 (file)
@@ -3,7 +3,7 @@
 #define GL_BACKEND_H
 
 // how many texture units to track state on (backendunits/backendimageunits/backendarrayunits are limited to this value)
 #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 MAX_TEXTUREUNITS 16
 
 #define POLYGONELEMENTS_MAXPOINTS 258
 extern int polygonelement3i[(POLYGONELEMENTS_MAXPOINTS-2)*3];
 
 #define POLYGONELEMENTS_MAXPOINTS 258
 extern int polygonelement3i[(POLYGONELEMENTS_MAXPOINTS-2)*3];