replace Proxy1D/2D/etc fields with ProxyTex[] array
authorBrian <brian.paul@tungstengraphics.com>
Thu, 16 Aug 2007 10:06:39 +0000 (11:06 +0100)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 16 Aug 2007 10:06:39 +0000 (11:06 +0100)
src/mesa/main/mtypes.h

index a04815a021c35df9d7f01f6eb9da88893b20ae56..1145f361b13efd20a99453dc98978f39e2016428 100644 (file)
@@ -1576,17 +1576,8 @@ struct gl_texture_attrib
 
    struct gl_texture_unit Unit[MAX_TEXTURE_UNITS];
 
-#if 0
-   struct gl_texture_object *Proxy1D;
-   struct gl_texture_object *Proxy2D;
-   struct gl_texture_object *Proxy3D;
-   struct gl_texture_object *ProxyCubeMap;
-   struct gl_texture_object *ProxyRect;
-   struct gl_texture_object *Proxy1DArray;
-   struct gl_texture_object *Proxy2DArray;
-#else
+   /** Proxy texture objects */
    struct gl_texture_object *ProxyTex[NUM_TEXTURE_TARGETS];
-#endif
 
    /** GL_EXT_shared_texture_palette */
    GLboolean SharedPalette;