From: José Fonseca Date: Thu, 1 May 2014 08:55:20 +0000 (+0100) Subject: osmesa: Fix typo in _MaxEnabledTexImageUnit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b0de67ad2d51f16d37f5f5a5822834c34b076c58;p=mesa.git osmesa: Fix typo in _MaxEnabledTexImageUnit. --- 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 ||