On 4 July 2011 22:32, Matteo Bruni matteo.mystral@gmail.com wrote:
- if ((!texture && old_texture_type != GL_NONE) || (texture && texture->target != old_texture_type))
- {
Actually, just thought of this now, but I'm not sure you can do this like that. The way you're using old_texture_type it's context state, not device state.