mesa: Add missing support for glFogiv(GL_FOG_DISTANCE_MODE_NV)
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 17 Jun 2017 01:48:22 +0000 (18:48 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 4 May 2018 22:27:44 +0000 (15:27 -0700)
commitf2db3be6200410ffd269f8789f3c97292ce03b0f
tree47264716213f189fc55fcb91d9845c3e416c415a
parentd350276b037b70b8d63023ad4f1411b8692a4b45
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 <ian.d.romanick@intel.com>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/fog.c