Fixed problem of renderer resets sometimes leading to garbled textures. The gl texture names reserved in the new deferred upload system were not being released during the reset and consequently, once OpenGL had been "shutdown" they were no longer valid; yet we were attempting to use those names anyway.
Todo: This is currently not a very elegant solution as it exposes GL_Reserve/ReleaseNames publically as unfortunately, simply doing a shutdown and then re-init of the deferred system during engine reset failed to work for some reason (and its too late to go messing with this now really).
Fixed problem of renderer resets sometimes leading to garbled textures. The gl texture names reserved in the new deferred upload system were not being released during the reset and consequently, once OpenGL had been "shutdown" they were no longer valid; yet we were attempting to use those names anyway.
Todo: This is currently not a very elegant solution as it exposes GL_Reserve/ReleaseNames publically as unfortunately, simply doing a shutdown and then re-init of the deferred system during engine reset failed to work for some reason (and its too late to go messing with this now really).