Re: [Mesa-dev] [PATCH] mesa: Fix assertion error with glDebugMessageControl

2013-08-23 Thread Brian Paul
On 08/22/2013 05:33 PM, Timothy Arceri wrote: Hi guys, As I'm yet to receive feedback I thought I'd explain more thoroughly what my patch does to make reviewing it easier. Currently glDebugMessageControlARB() ALWAYS throws an assertion whenever the count parameter it set to anything greater

Re: [Mesa-dev] [PATCH] mesa: Fix assertion error with glDebugMessageControl

2013-08-22 Thread Timothy Arceri
Hi guys, As I'm yet to receive feedback I thought I'd explain more thoroughly what my patch does to make reviewing it easier. Currently glDebugMessageControlARB() ALWAYS throws an assertion whenever the count parameter it set to anything greater than 0. This is because the gl_enum_to_debug_*

[Mesa-dev] [PATCH] mesa: Fix assertion error with glDebugMessageControl

2013-08-21 Thread Timothy Arceri
enums were being converted twice resulting in incorrect values. The extra conversion has been remove and the redundant assert is removed also. Signed-off-by: Timothy Arceri t_arc...@yahoo.com.au --- src/mesa/main/errors.c | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-)