summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-31 19:27:42 -0600
committerBrian Paul <[email protected]>2009-08-31 19:34:47 -0600
commit9c41931c0fbfc108eeba0af18db29a24b394d091 (patch)
tree28b1439537216f21e6cce26b9a3b48c79c1a25c3 /src/mesa/drivers/common
parent10d81f466794c61c11225c94b2125bf2dd23748e (diff)
mesa: remove accidentally commited debug/disabled code
Diffstat (limited to 'src/mesa/drivers/common')
-rw-r--r--src/mesa/drivers/common/meta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index 02194a39b47..5aa1301ae76 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -694,7 +694,7 @@ get_temp_texture(GLcontext *ctx)
/* do one-time init */
/* prefer texture rectangle */
- if (0*ctx->Extensions.NV_texture_rectangle) {
+ if (ctx->Extensions.NV_texture_rectangle) {
tex->Target = GL_TEXTURE_RECTANGLE;
tex->MaxSize = ctx->Const.MaxTextureRectSize;
tex->NPOT = GL_TRUE;
@@ -703,7 +703,7 @@ get_temp_texture(GLcontext *ctx)
/* use 2D texture, NPOT if possible */
tex->Target = GL_TEXTURE_2D;
tex->MaxSize = 1 << (ctx->Const.MaxTextureLevels - 1);
- tex->NPOT = 0*ctx->Extensions.ARB_texture_non_power_of_two;
+ tex->NPOT = ctx->Extensions.ARB_texture_non_power_of_two;
}
assert(tex->MaxSize > 0);