aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2019-04-26 23:50:47 -0700
committerIan Romanick <[email protected]>2019-04-30 07:52:59 -0700
commitbfc6486819505916cfe03a9348d5e9605c300007 (patch)
tree942123a5f08ea5b9eed5380b465c31171b020425 /src/mesa
parent9b6a00e66e2b9d8c999b53bf7f2dffb548ddf864 (diff)
mesa: Add missing display list support for GL_FOG_COORDINATE_SOURCE
Fixes: fe5d67d95f3 ("Implement EXT_fog_coord and EXT_secondary_color.") Reviewed-by: Mathias Fröhlich <[email protected]> Cc: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/dlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 8dcf8bd252c..eb22fcbdb31 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -2755,6 +2755,7 @@ save_Fogiv(GLenum pname, const GLint *params)
case GL_FOG_START:
case GL_FOG_END:
case GL_FOG_INDEX:
+ case GL_FOG_COORDINATE_SOURCE:
p[0] = (GLfloat) *params;
p[1] = 0.0f;
p[2] = 0.0f;