diff options
| author | bunnei <bunneidev@gmail.com> | 2019-02-06 20:19:20 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-06 20:19:20 -0500 |
| commit | 10ab714fe015b28215ce61e6b4f9085c954a409d (patch) | |
| tree | 3c9d5c9ad759749d53773c6416be38d476d483bf /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
| parent | 40ac0585574499bc0dee47c4bef354c8e5676695 (diff) | |
| parent | 2bdbb90af74683bd8bb7e25d5353c39fb8037f8c (diff) | |
Merge pull request #2042 from ReinUsesLisp/nouveau-tex
maxwell_3d: Allow texture handles with TIC id zero
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 53b52753c..c806b7da7 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -1008,10 +1008,6 @@ void RasterizerOpenGL::SetupTextures(Maxwell::ShaderStage stage, const Shader& s auto& unit = state.texture_units[current_bindpoint]; const auto texture = maxwell3d.GetStageTexture(entry.GetStage(), entry.GetOffset()); - if (!texture.enabled) { - unit.texture = 0; - continue; - } texture_samplers[current_bindpoint].SyncWithConfig(texture.tsc); |
