[Mesa-dev] [PATCH 2/2] osmesa: (trivial) fix typo

sroland at vmware.com sroland at vmware.com
Wed Apr 30 15:41:57 PDT 2014


From: Roland Scheidegger <sroland at vmware.com>

c703658b3965bf2e4f3593a0d54be03e8e8b1436 used
Texture.MaxEnabledTexImageUnit instead of Texture._MaxEnabledTexImageUnit.
---
 src/mesa/drivers/osmesa/osmesa.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c
index 6026fd5..ab9ac31 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 ||
-- 
1.7.9.5


More information about the mesa-dev mailing list