Ian Romanick <i...@freedesktop.org> writes:

> Are there potentially cases where the first clear_tex_image could
> succeed but the second fail?  If so, then this is no good.  If a GL call
> generates an error (other than GL_NO_MEMORY), it is supposed to be as
> though nothing happened.

Urgh, yes, you're right because for example GL would let you make one
face of a cubemap texture be compressed while the others aren't. I'll
change it to have a separate loop for the checks as you suggest.

Thanks for the review.

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

Reply via email to