aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorDanylo Piliaiev <[email protected]>2018-07-18 11:58:04 +0300
committerRhys Perry <[email protected]>2018-07-24 20:44:34 +0100
commit49ed075615ec869715b0a520eea66d3620fc1c3b (patch)
tree950c724f8275380107adefc8ee94a9260ab1b199 /src/mesa/main
parentf214baf72ff89ba03342067f89c38b4bc84e298b (diff)
mesa: Fix copy-paste error in ConservativeRasterDilateRange initialization
Signed-off-by: Danylo Piliaiev <[email protected]> Reviewed-by: Rhys Perry <[email protected]> Fixes: 4580617509d ("mesa: add support for nvidia conservative rasterization extensions") Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 1 insertions, 1 deletions
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;
}