]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_backend.h
backend now supports 1D, 2D, 3D, and Cubemap texture binding
[xonotic/darkplaces.git] / gl_backend.h
index 6a652013a17ba65ec2061767eb7cd137c3d19f74..a8f904c592b1f4e8e6513e5a75529882af6b8476 100644 (file)
@@ -29,7 +29,10 @@ typedef struct
        int blendfunc1;
        int blendfunc2;
        //int wantoverbright;
+       int tex1d[MAX_TEXTUREUNITS];
        int tex[MAX_TEXTUREUNITS];
+       int tex3d[MAX_TEXTUREUNITS];
+       int texcubemap[MAX_TEXTUREUNITS];
        int texrgbscale[MAX_TEXTUREUNITS]; // used only if COMBINE is present
 }
 rmeshstate_t;