From bfc6486819505916cfe03a9348d5e9605c300007 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 26 Apr 2019 23:50:47 -0700 Subject: [PATCH] mesa: Add missing display list support for GL_FOG_COORDINATE_SOURCE MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: fe5d67d95f3 ("Implement EXT_fog_coord and EXT_secondary_color.") Reviewed-by: Mathias Fröhlich Cc: Brian Paul --- src/mesa/main/dlist.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2