[Mesa-dev] [PATCH] mesa: remove duplicated init of MaxViewports

Ian Romanick idr at freedesktop.org
Sun Jan 26 08:44:33 PST 2014


On 01/26/2014 02:25 AM, Maxence Le Doré wrote:
> From: Maxence Le Doré <Maxence Le Doré>
> 
> Already declared 5 lines before.

That was rebase failure on my part.

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

> ---
>  src/mesa/main/context.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
> index b7cd568..98025bc 100644
> --- a/src/mesa/main/context.c
> +++ b/src/mesa/main/context.c
> @@ -595,9 +595,6 @@ _mesa_init_constants(struct gl_context *ctx)
>     ctx->Const.ViewportBounds.Min = 0;
>     ctx->Const.ViewportBounds.Max = 0;
>  
> -   /* Driver must override if it supports ARB_viewport_array */
> -   ctx->Const.MaxViewports = 1;
> -
>     /** GL_ARB_uniform_buffer_object */
>     ctx->Const.MaxCombinedUniformBlocks = 36;
>     ctx->Const.MaxUniformBufferBindings = 36;
> 



More information about the mesa-dev mailing list