Comment 12 for bug 368049

Revision history for this message
In , Brian-paul (brian-paul) wrote :

So, texUnit->CurrentRect is NULL. That should never happen (unless the context is being torn down/deleted). The "Current" texture object pointers should never be null. They should either point to the texture that the user bound with glBindTexture() or should point to the default texture objects in the ctx->Shared state.

I'm afraid the patch is just hiding the real issue elsewhere.

This may be a reference counting bug somewhere. I could add some assertions to try to narrow it down. I'll check them into git ASAP. I probably won't hold up the 7.3 release though unless we can make progress on this today.