mesa: Fix copy-paste error in ConservativeRasterDilateRange initialization
authorDanylo Piliaiev <danylo.piliaiev@gmail.com>
Wed, 18 Jul 2018 08:58:04 +0000 (11:58 +0300)
committerRhys Perry <pendingchaos02@gmail.com>
Tue, 24 Jul 2018 19:44:34 +0000 (20:44 +0100)
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Fixes: 4580617509d ("mesa: add support for nvidia conservative
rasterization extensions")
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/main/context.c

index 4243e03c5cd228823464d8a19efa8a305feb4b6d..0ef8fe32a635e90d6adaa3366312d7e854311472 100644 (file)
@@ -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;
 }