Re: [Mesa-dev] [PATCH] main: Add TEXTURE_CUBE_MAP support in CopyTextureSubImage3D.

2015-03-19 Thread Anuj Phogat
On Thu, Mar 19, 2015 at 10:56 AM, Laura Ekstrand wrote: > > > On Wed, Mar 18, 2015 at 3:15 PM, Anuj Phogat wrote: >> >> On Wed, Mar 18, 2015 at 1:06 PM, Laura Ekstrand >> wrote: >> > So it turns out that this doesn't actually fix any bugs or add any >> > features, >> > stictly speaking. However,

Re: [Mesa-dev] [PATCH] main: Add TEXTURE_CUBE_MAP support in CopyTextureSubImage3D.

2015-03-19 Thread Laura Ekstrand
On Wed, Mar 18, 2015 at 3:15 PM, Anuj Phogat wrote: > On Wed, Mar 18, 2015 at 1:06 PM, Laura Ekstrand > wrote: > > So it turns out that this doesn't actually fix any bugs or add any > features, > > stictly speaking. However, it does avoid a lot of kludginess. > Previously, if > > you called > >

Re: [Mesa-dev] [PATCH] main: Add TEXTURE_CUBE_MAP support in CopyTextureSubImage3D.

2015-03-18 Thread Anuj Phogat
On Wed, Mar 18, 2015 at 1:06 PM, Laura Ekstrand wrote: > So it turns out that this doesn't actually fix any bugs or add any features, > stictly speaking. However, it does avoid a lot of kludginess. Previously, if > you called > > glCopyTextureSubImage3D(texcube, 0, 0, 0, zoffset = 3, ... > > it w

[Mesa-dev] [PATCH] main: Add TEXTURE_CUBE_MAP support in CopyTextureSubImage3D.

2015-03-18 Thread Laura Ekstrand
So it turns out that this doesn't actually fix any bugs or add any features, stictly speaking. However, it does avoid a lot of kludginess. Previously, if you called glCopyTextureSubImage3D(texcube, 0, 0, 0, zoffset = 3, ... it would grab the texture image object for face = 0 in teximage.c instea