diff options
author | Ian Romanick <[email protected]> | 2017-06-16 18:48:22 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2018-05-04 15:27:44 -0700 |
commit | f2db3be6200410ffd269f8789f3c97292ce03b0f (patch) | |
tree | 47264716213f189fc55fcb91d9845c3e416c415a /src | |
parent | d350276b037b70b8d63023ad4f1411b8692a4b45 (diff) |
mesa: Add missing support for glFogiv(GL_FOG_DISTANCE_MODE_NV)
Found by inspection, so I made a piglit test too.
Signed-off-by: Ian Romanick <[email protected]>
Cc: [email protected]
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/fog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/fog.c b/src/mesa/main/fog.c index c051aaddedc..0decf762a99 100644 --- a/src/mesa/main/fog.c +++ b/src/mesa/main/fog.c @@ -62,6 +62,7 @@ _mesa_Fogiv(GLenum pname, const GLint *params ) case GL_FOG_END: case GL_FOG_INDEX: case GL_FOG_COORDINATE_SOURCE_EXT: + case GL_FOG_DISTANCE_MODE_NV: p[0] = (GLfloat) *params; break; case GL_FOG_COLOR: |