From: Brian Date: Thu, 16 Aug 2007 10:06:39 +0000 (+0100) Subject: replace Proxy1D/2D/etc fields with ProxyTex[] array X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=09867b53a9add9c1a392ad46f850d40d50bbc536;p=mesa.git replace Proxy1D/2D/etc fields with ProxyTex[] array --- diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index a04815a021c..1145f361b13 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -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;