Commit 19a5f4ab5da77cd98c24ac99a0a53b78fe7afe9c

Ryan C. Gordon 2020-03-22T14:32:47

opengl: Don't enable/disable texturing except when actually rendering. Otherwise our cached state goes out of sync when updating a texture. Since these state changes aren't necessary, they were removed instead of updating the cached state. Fixes Bugzilla #4998.