From a6e61ef83b0f94ed38c0a6538a3bc03cf9a6d8ca Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 24 Feb 2019 14:36:08 -0500 Subject: [PATCH] Reverts the clear colour to black. The change was related to debugging; it was not intentionally committed. --- Outputs/OpenGL/ScanTarget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Outputs/OpenGL/ScanTarget.cpp b/Outputs/OpenGL/ScanTarget.cpp index 22478a891..62d59ffe8 100644 --- a/Outputs/OpenGL/ScanTarget.cpp +++ b/Outputs/OpenGL/ScanTarget.cpp @@ -588,7 +588,7 @@ void ScanTarget::draw(bool synchronous, int output_width, int output_height) { // If this is start-of-frame, clear any untouched pixels and flush the stencil buffer if(line_metadata_buffer_[start_line].is_first_in_frame) { if(stencil_is_valid_ && line_metadata_buffer_[start_line].previous_frame_was_complete) { - full_display_rectangle_.draw(1.0f, 0.0f, 0.0f); + full_display_rectangle_.draw(0.0f, 0.0f, 0.0f); } stencil_is_valid_ = true; test_gl(glClear, GL_STENCIL_BUFFER_BIT);