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

Brian Paul brianp at vmware.com
Wed Apr 30 16:24:14 PDT 2014


On 04/30/2014 04:41 PM, sroland at vmware.com wrote:
> 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 ||
>

Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list