Re: [Mesa-dev] [PATCH] mesa: add missing texture integer test in glTexSubImage()

2012-02-16 Thread Eric Anholt
On Wed, 15 Feb 2012 15:41:01 -0700, Brian Paul wrote: > If the texture format is integer, the incoming user data must also be > integer (and similarly for non-integer textures). > > NOTE: This is a candidate for the stable branches. > --- > src/mesa/main/teximage.c | 11 +++ > 1 files

Re: [Mesa-dev] [PATCH] mesa: add missing texture integer test in glTexSubImage()

2012-02-15 Thread Yuanhan Liu
On Wed, Feb 15, 2012 at 03:41:01PM -0700, Brian Paul wrote: > If the texture format is integer, the incoming user data must also be > integer (and similarly for non-integer textures). > > NOTE: This is a candidate for the stable branches. > --- > src/mesa/main/teximage.c | 11 +++ > 1 f

[Mesa-dev] [PATCH] mesa: add missing texture integer test in glTexSubImage()

2012-02-15 Thread Brian Paul
If the texture format is integer, the incoming user data must also be integer (and similarly for non-integer textures). NOTE: This is a candidate for the stable branches. --- src/mesa/main/teximage.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/mesa/main