Re: [Mesa-dev] [PATCH] mesa: fix incorrect error for glCompressedSubTexImage

2012-09-25 Thread Brian Paul
On 09/24/2012 06:42 PM, Eric Anholt wrote: Brian Paul writes: From: Brian Paul If a subtexture region isn't aligned to the compressed block size, return GL_INVALID_OPERATION, not gl_INVALID_VALUE. NOTE: This is a candidate for the stable branches. --- src/mesa/main/teximage.c |6 +++---

Re: [Mesa-dev] [PATCH] mesa: fix incorrect error for glCompressedSubTexImage

2012-09-25 Thread Eric Anholt
Brian Paul writes: > From: Brian Paul > > If a subtexture region isn't aligned to the compressed block size, > return GL_INVALID_OPERATION, not gl_INVALID_VALUE. > > NOTE: This is a candidate for the stable branches. > --- > src/mesa/main/teximage.c |6 +++--- > 1 files changed, 3 insertion

[Mesa-dev] [PATCH] mesa: fix incorrect error for glCompressedSubTexImage

2012-09-22 Thread Brian Paul
From: Brian Paul If a subtexture region isn't aligned to the compressed block size, return GL_INVALID_OPERATION, not gl_INVALID_VALUE. NOTE: This is a candidate for the stable branches. --- src/mesa/main/teximage.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sr