On 04/08/2014 02:03 PM, Eric Anholt wrote: > I need to do the same code again for CopyTexSubImage(). > --- > src/mesa/drivers/common/meta.c | 33 +++++++++++++++++++++++ > src/mesa/drivers/common/meta.h | 4 +++ > src/mesa/drivers/common/meta_generate_mipmap.c | 36 > ++------------------------ > 3 files changed, 39 insertions(+), 34 deletions(-) > > diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c > index acf927b..ee8ad3f 100644 > --- a/src/mesa/drivers/common/meta.c > +++ b/src/mesa/drivers/common/meta.c > @@ -93,6 +93,39 @@ static void meta_glsl_clear_cleanup(struct clear_state > *clear); > static void meta_decompress_cleanup(struct decompress_state *decompress); > static void meta_drawpix_cleanup(struct drawpix_state *drawpix); > > +/** > + * Bind a particular texture level/layer to mipmap->FBO's > GL_COLOR_ATTACHMENT0. > + */
The comment about mipmap->FBO doesn't make much sense anymore. Maybe "the current FBO"? Or, just drop it altogether.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev