diff options
author | Brian Paul <[email protected]> | 2011-09-21 18:54:53 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-09-22 10:44:36 -0600 |
commit | eaf376ba354db11f7729452060570b48a029c9a0 (patch) | |
tree | 64801ebcccfbe0f83dc4dffbf6feb75ac4457558 /src/mesa/swrast/s_context.h | |
parent | de414f491526610bb260c73805c81ba413388e20 (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.h | 3 |
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 */ |