Re: [Mesa-dev] [PATCH] mesa: change invalid texture swizzle error to GL_INVALID_ENUM

2014-04-30 Thread Ian Romanick
On 04/24/2014 02:29 PM, Brian Paul wrote: > The original GL_EXT_texture_swizzle extensions said GL_INVALID_OPERATION > was to be generated when the an invalid swizzle was passed to > glTexParameter(). But in OpenGL 3.3 and later, the error should be > GL_INVALID_ENUM. Reviewed-by: Ian Romanick

Re: [Mesa-dev] [PATCH] mesa: change invalid texture swizzle error to GL_INVALID_ENUM

2014-04-30 Thread Brian Paul
Ping. -Brian On 04/24/2014 03:29 PM, Brian Paul wrote: The original GL_EXT_texture_swizzle extensions said GL_INVALID_OPERATION was to be generated when the an invalid swizzle was passed to glTexParameter(). But in OpenGL 3.3 and later, the error should be GL_INVALID_ENUM. --- src/mesa/main/

[Mesa-dev] [PATCH] mesa: change invalid texture swizzle error to GL_INVALID_ENUM

2014-04-24 Thread Brian Paul
The original GL_EXT_texture_swizzle extensions said GL_INVALID_OPERATION was to be generated when the an invalid swizzle was passed to glTexParameter(). But in OpenGL 3.3 and later, the error should be GL_INVALID_ENUM. --- src/mesa/main/texparam.c |4 ++-- 1 file changed, 2 insertions(+), 2 d