From 49ed075615ec869715b0a520eea66d3620fc1c3b Mon Sep 17 00:00:00 2001 From: Danylo Piliaiev Date: Wed, 18 Jul 2018 11:58:04 +0300 Subject: [PATCH] mesa: Fix copy-paste error in ConservativeRasterDilateRange initialization Signed-off-by: Danylo Piliaiev Reviewed-by: Rhys Perry Fixes: 4580617509d ("mesa: add support for nvidia conservative rasterization extensions") Reviewed-by: Emil Velikov --- 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 4243e03c5cd..0ef8fe32a63 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.30.2