commit | fbebcc72d22e238d4516b508225653d574a7f9ba | [log] [tgz] |
---|---|---|
author | Ryan C. Gordon <icculus@icculus.org> | Sun Mar 22 14:32:47 2020 -0400 |
committer | Ryan C. Gordon <icculus@icculus.org> | Sun Mar 22 14:32:47 2020 -0400 |
tree | 96c0d12c88d127316f00860c311fd431cd3d30bc | |
parent | 3cde8a27dadd76748899625b6d44af971d2cf4be [diff] |
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. --HG-- extra : rebase_source : 6f9c8a275647e76a639e2959c4664f7641e0b34b