mesa: Fix assertion error with glDebugMessageControl
authorTimothy Arceri <t_arceri@yahoo.com.au>
Wed, 21 Aug 2013 06:18:00 +0000 (00:18 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 23 Aug 2013 14:15:19 +0000 (08:15 -0600)
commitf0072e3c6b0bd46d8ebf7ac0a2cf1bf63dc370e8
treea5a4f13b58c859b79019198d548711f198d5d3be
parenta27180d0d8666c75befe5c5b26e6d7122b41588b
mesa: Fix assertion error with glDebugMessageControl

enums were being converted twice resulting in incorrect values.
The extra conversion has been removed and the redundant assert is
removed also.

Cc: 9.2 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/errors.c