From 86f8f626f145700df775ec1966283fb89069a1d2 Mon Sep 17 00:00:00 2001 From: Leith Bade Date: Fri, 7 Nov 2014 01:40:05 +1100 Subject: [PATCH] Change clear to red to debug tile loading --- src/renderer/painter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/painter.cpp b/src/renderer/painter.cpp index 960168bd4..746b0d603 100644 --- a/src/renderer/painter.cpp +++ b/src/renderer/painter.cpp @@ -66,7 +66,7 @@ void Painter::setup() { glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA); // Set clear values - glClearColor(0.0f, 0.0f, 0.0f, 0.0f); + glClearColor(1.0f, 0.0f, 0.0f, 0.0f); glClearDepth(1.0f); glClearStencil(0x0); @@ -174,7 +174,7 @@ void Painter::clear() { glStencilMask(0xFF); depthMask(true); - glClearColor(0, 0, 0, 0); + glClearColor(1, 0, 0, 0); glClear(GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); }