Change clear to red to debug tile loading

This commit is contained in:
Leith Bade
2014-11-07 01:40:05 +11:00
parent 56e26749d4
commit 86f8f626f1

View File

@@ -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);
}