Jordan Justen <jordan.l.jus...@intel.com> writes:

> Mesa core's copyteximage calls the driver with format/type==GL_NONE
> to "Allocate texture memory". In this case, we shouldn't call
> _mesa_store_teximage.

I'm not sure if GL_NONE/GL_NONE really makes sense to test for here.  I
bet the actual problem is that the app's pixel unpack state (like having
a PBO bound, and thus pixels == NULL still meaning to upload data) is
leaking into this path through the use of &ctx->Unpack instead of
ctx->DefaultPacking.

Attachment: pgp1lRIUi9Nok.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to