diff options
| author | Stenzek <stenzek@gmail.com> | 2018-01-21 23:13:25 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2018-01-22 13:22:09 +1000 |
| commit | 38e0b6e2ab53374e7335fee94209bb90cb3e9ed2 (patch) | |
| tree | a64d1b48bc9f7fedc5c9d83475d58b1118cb1057 /Source/Core/VideoBackends/OGL/TextureCache.cpp | |
| parent | fca56d532a4da844c324d7a4ea05252e72d89fcf (diff) | |
AbstractTexture: Move Bind() method to Renderer
This makes state tracking simpler, and enables easier porting to command
lists later on.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/TextureCache.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/TextureCache.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/OGL/TextureCache.cpp b/Source/Core/VideoBackends/OGL/TextureCache.cpp index 36175f0215..e5afa1399f 100644 --- a/Source/Core/VideoBackends/OGL/TextureCache.cpp +++ b/Source/Core/VideoBackends/OGL/TextureCache.cpp @@ -476,8 +476,6 @@ void TextureCache::DecodeTextureOnGPU(TCacheEntry* entry, u32 dst_level, const u glDispatchCompute(dispatch_groups.first, dispatch_groups.second, 1); glMemoryBarrier(GL_TEXTURE_UPDATE_BARRIER_BIT); - OGLTexture::SetStage(); - #ifdef TIME_TEXTURE_DECODING WARN_LOG(VIDEO, "Decode texture format %u size %ux%u took %.4fms", static_cast<u32>(format), width, height, timer.GetTimeMilliseconds()); |
