On Fri, Aug 15, 2014 at 4:04 PM, Brian Paul <bri...@vmware.com> wrote: > to pixelstore.c, add const qualifier to the 'packing' parameter. > Add comments. > --- > src/mesa/main/pixelstore.c | 42 +++++++++++++++++++++++++++++++++++++++++ > src/mesa/main/pixelstore.h | 8 ++++++++ > src/mesa/main/texgetimage.c | 7 ++++--- > src/mesa/main/teximage.c | 44 > +++++++------------------------------------ > src/mesa/main/teximage.h | 6 ------ > 5 files changed, 61 insertions(+), 46 deletions(-) > > diff --git a/src/mesa/main/pixelstore.c b/src/mesa/main/pixelstore.c > index 05f6583..b5df5e6 100644 > --- a/src/mesa/main/pixelstore.c > +++ b/src/mesa/main/pixelstore.c > @@ -284,3 +284,45 @@ _mesa_init_pixelstore( struct gl_context *ctx ) > _mesa_reference_buffer_object(ctx, &ctx->DefaultPacking.BufferObj, > ctx->Shared->NullBufferObj); > } > + > + > +/** > + * Check if the given compressed pixel storage parameters are legal. > + * Record a GL error if illegl.
illegal. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev