main: set_tex_parameterf now handles errors according to the OpenGL 4.5 Specification.
authorLaura Ekstrand <laura@jlekstrand.net>
Thu, 11 Dec 2014 00:32:16 +0000 (16:32 -0800)
committerLaura Ekstrand <laura@jlekstrand.net>
Thu, 8 Jan 2015 19:37:29 +0000 (11:37 -0800)
commit795ba44754d99d204dbdfd7042c839c6eae497a1
tree18fac16cb70b26148318023c20e525555a2119cd
parentf4dce7a6a69de30ab7aad7612f93302c69421fea
main: set_tex_parameterf now handles errors according to the OpenGL 4.5 Specification.

Beginning in the OpenGL 4.3 core specification, certain error handling has
changed.  One example shown here is that INVALID_ENUM is thrown instead of
INVALID_OPERATION when a user attempts to set sampler parameters for a
multisample target.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/texparam.c