[Mesa-dev] [PATCH] mesa: Fix copy-paste error in ConservativeRasterDilateRange initialization

Rhys Perry pendingchaos02 at gmail.com
Sun Jul 22 17:27:38 UTC 2018


Reviewed-by: Rhys Perry <pendingchaos02 at gmail.com>

I'm not sure how much that's worth though, so I think I'll wait a few
days being pushing it (I assume you can't push it) and see if anyone
objects.

On Wed, Jul 18, 2018 at 9:58 AM, Danylo Piliaiev
<danylo.piliaiev at gmail.com> wrote:
> Signed-off-by: Danylo Piliaiev <danylo.piliaiev at globallogic.com>
> ---
>  src/mesa/main/context.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
> index 4243e03c5c..0ef8fe32a6 100644
> --- a/src/mesa/main/context.c
> +++ b/src/mesa/main/context.c
> @@ -742,7 +742,7 @@ _mesa_init_constants(struct gl_constants *consts, gl_api api)
>
>     /** GL_NV_conservative_raster_dilate */
>     consts->ConservativeRasterDilateRange[0] = 0.0;
> -   consts->ConservativeRasterDilateRange[0] = 0.0;
> +   consts->ConservativeRasterDilateRange[1] = 0.0;
>     consts->ConservativeRasterDilateGranularity = 0.0;
>  }
>
> --
> 2.17.1
>


More information about the mesa-dev mailing list