Mesa (master): osmesa: Fix typo in _MaxEnabledTexImageUnit.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu May 1 08:55:33 UTC 2014


Module: Mesa
Branch: master
Commit: b0de67ad2d51f16d37f5f5a5822834c34b076c58
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0de67ad2d51f16d37f5f5a5822834c34b076c58

Author: José Fonseca <jfonseca at vmware.com>
Date:   Thu May  1 09:55:20 2014 +0100

osmesa: Fix typo in _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 ||




More information about the mesa-commit mailing list