summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_context.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-09-21 18:54:53 -0600
committerBrian Paul <[email protected]>2011-09-22 10:44:57 -0600
commit980f6f1b37ca88529b3e000235156eab93254fac (patch)
treeaa35b265eb89284d160ca6211322204efebb3e5c /src/mesa/swrast/s_context.h
parenteaf376ba354db11f7729452060570b48a029c9a0 (diff)
mesa: move gl_texture_image::Width/Height/DepthScale fields to swrast
These fields were only used for swrast so move them into swrast_texture_image. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_context.h')
-rw-r--r--src/mesa/swrast/s_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h
index 363115a8fea..1e0bfc0f974 100644
--- a/src/mesa/swrast/s_context.h
+++ b/src/mesa/swrast/s_context.h
@@ -141,10 +141,10 @@ struct swrast_texture_image
GLboolean _IsPowerOfTwo; /**< Are all dimensions powers of two? */
-#if 0
/** used for mipmap LOD computation */
GLfloat WidthScale, HeightScale, DepthScale;
+#if 0
GLubyte *Data; /**< The actual texture data in malloc'd memory */
GLint TexelSize; /**< bytes per texel block */