summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2014-05-01 09:55:20 +0100
committerJosé Fonseca <[email protected]>2014-05-01 09:55:20 +0100
commitb0de67ad2d51f16d37f5f5a5822834c34b076c58 (patch)
tree05991618d6b7e1d5d62fdb768be10aac94d53067 /src/mesa
parent85ce2242cb9adf6bbf32f74e7578c66f426e8fc8 (diff)
osmesa: Fix typo in _MaxEnabledTexImageUnit.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c
index 6026fd51e03..ab9ac31fd26 100644
--- a/src/mesa/drivers/osmesa/osmesa.c
+++ b/src/mesa/drivers/osmesa/osmesa.c
@@ -207,7 +207,7 @@ osmesa_choose_line_function( struct gl_context *ctx )
if (ctx->RenderMode != GL_RENDER ||
ctx->Line.SmoothFlag ||
- ctx->Texture.MaxEnabledTexImageUnit == -1 ||
+ ctx->Texture._MaxEnabledTexImageUnit == -1 ||
ctx->Light.ShadeModel != GL_FLAT ||
ctx->Line.Width != 1.0F ||
ctx->Line.StippleFlag ||