From eb78fe0c1051f2e60ebb771881b0a86fd77094e7 Mon Sep 17 00:00:00 2001 From: Hamish Milne Date: Tue, 7 Apr 2020 15:38:24 +0100 Subject: [PATCH] Revert one change from #4844 This fixes #5067 by reverting a speculative change made in a previous PR. From this one can conclude that, for disabled textures, black (0,0,0,1) is the correct colour and clear (0,0,0,0) is not. --- src/video_core/renderer_opengl/gl_rasterizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 862dcac00a..4ac9e36c2a 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -756,7 +756,7 @@ bool RasterizerOpenGL::Draw(bool accelerate, bool is_indexed) { state.texture_units[texture_index].texture_2d = default_texture; } } else { - state.texture_units[texture_index].texture_2d = default_texture; + state.texture_units[texture_index].texture_2d = 0; } }