mesa: Fix GL_CLAMP handling in glSamplerParameter
authorAdam Jackson <ajax@redhat.com>
Thu, 14 Nov 2019 16:10:05 +0000 (11:10 -0500)
committerMarge Bot <eric+marge@anholt.net>
Wed, 9 Sep 2020 17:45:07 +0000 (17:45 +0000)
commit06c6920a5b1046305408089561c4e5f7b90511d5
treed29e72f8acfdb6e185226f7df4b7b098e2a3497c
parent0f61f0142ac84a3b73eed5b7f414af457f3b3473
mesa: Fix GL_CLAMP handling in glSamplerParameter

GL_CLAMP is only a thing in compat contexts.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6653>
src/mesa/main/samplerobj.c