OSDN Git Service

mesa/main: fix meta caller of _mesa_ClampColor
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 16 Jan 2017 11:13:50 +0000 (12:13 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 20 Jan 2017 23:21:06 +0000 (23:21 +0000)
commit613154fc8fee89c3791c174363832581ab871580
treebb1086b8647d05913712b556ce76eb06cd5f322e
parentff81869f0dcd2210e5f09c2e0e0c116f46952734
mesa/main: fix meta caller of _mesa_ClampColor

Since _mesa_ClampColor properly checks for support of the API function
now, it's meta callers need to check support as well.

Fixes: 963311b71f ("mesa/main: fix version/extension checks in _mesa_ClampColor")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99401
Tested-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Cc: "17.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit a7c635ec6589f600f0d52d0097774ea0b938de9f)
src/mesa/main/attrib.c