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:36 -0600
commiteaf376ba354db11f7729452060570b48a029c9a0 (patch)
tree64801ebcccfbe0f83dc4dffbf6feb75ac4457558 /src/mesa/swrast/s_context.h
parentde414f491526610bb260c73805c81ba413388e20 (diff)
mesa: move gl_texture_image::_IsPowerOfTwo into swrast
It's only used by swrast. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_context.h')
-rw-r--r--src/mesa/swrast/s_context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_context.h b/src/mesa/swrast/s_context.h
index 8357483a27f..363115a8fea 100644
--- a/src/mesa/swrast/s_context.h
+++ b/src/mesa/swrast/s_context.h
@@ -139,10 +139,11 @@ struct swrast_texture_image
{
struct gl_texture_image Base;
+ GLboolean _IsPowerOfTwo; /**< Are all dimensions powers of two? */
+
#if 0
/** used for mipmap LOD computation */
GLfloat WidthScale, HeightScale, DepthScale;
- GLboolean _IsPowerOfTwo; /**< Are all dimensions powers of two? */
GLubyte *Data; /**< The actual texture data in malloc'd memory */