diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-08-16 11:06:13 +0100 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-08-16 11:06:13 +0100 |
commit | fe469007037d9d5cdbe1677d8ff7368b276e9e7c (patch) | |
tree | fdaedcf53cc2177740b2636f15dbd14fd9db46b0 /src/mesa/main/mtypes.h | |
parent | 0135ff512d25b221d1a4cf9a5d344420d4ad3341 (diff) |
Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX.
Simplification in colortab.c too.
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r-- | src/mesa/main/mtypes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 0f578c5616..a04815a021 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1576,6 +1576,7 @@ 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; @@ -1583,6 +1584,9 @@ struct gl_texture_attrib struct gl_texture_object *ProxyRect; struct gl_texture_object *Proxy1DArray; struct gl_texture_object *Proxy2DArray; +#else + struct gl_texture_object *ProxyTex[NUM_TEXTURE_TARGETS]; +#endif /** GL_EXT_shared_texture_palette */ GLboolean SharedPalette; |