From: Danylo Piliaiev Date: Wed, 18 Jul 2018 08:58:04 +0000 (+0300) Subject: mesa: Fix copy-paste error in ConservativeRasterDilateRange initialization X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=49ed075615ec869715b0a520eea66d3620fc1c3b;p=mesa.git 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 --- 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; }