diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2019-04-26 23:50:47 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-05-08 16:40:18 -0700 |
commit | 6e710c1fb4330d72c9ceb520b254f186708a4561 (patch) | |
tree | b032a3ba45f745305be120590392592746f47c68 | |
parent | 3fe72ca2149e611f9f48a44cc609aa9909f611b5 (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 <Mathias.Froehlich@web.de>
Cc: Brian Paul <brianp@vmware.com>
(cherry picked from commit bfc6486819505916cfe03a9348d5e9605c300007)
-rw-r--r-- | src/mesa/main/dlist.c | 1 |
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; |