]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid.h
Change MAX_TEXTUREUNITS from 16 to 32 - this fixes a memory corruption that was causi...
[xonotic/darkplaces.git] / vid.h
diff --git a/vid.h b/vid.h
index c281f7dc1fa082d43074e696bd02f736dbd8e5b6..e1b14ef1b9956438a8c5e56831ee4a3a5199638b 100644 (file)
--- a/vid.h
+++ b/vid.h
@@ -26,7 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 extern int cl_available;
 
-#define MAX_TEXTUREUNITS 16
+#define MAX_TEXTUREUNITS 32
 
 typedef enum renderpath_e
 {
@@ -94,9 +94,6 @@ typedef struct viddef_s
        renderpath_t renderpath;
        qboolean allowalphatocoverage; // indicates the GL_AlphaToCoverage function works on this renderpath and framebuffer
 
-       unsigned int texunits;
-       unsigned int teximageunits;
-       unsigned int texarrayunits;
        unsigned int drawrangeelements_maxvertices;
        unsigned int drawrangeelements_maxindices;