mesa: Add missing display list support for GL_FOG_COORDINATE_SOURCE
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 27 Apr 2019 06:50:47 +0000 (23:50 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 30 Apr 2019 14:52:59 +0000 (07:52 -0700)
Fixes: fe5d67d95f3 ("Implement EXT_fog_coord and EXT_secondary_color.")
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Cc: Brian Paul <brianp@vmware.com>
src/mesa/main/dlist.c

index 8dcf8bd252cde524e25bc8d4423f852759738871..eb22fcbdb31513a31f32660398f814f92d80f256 100644 (file)
@@ -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;