changed window clear colour to black
This commit is contained in:
parent
0cfbf54f7e
commit
f02b2a984e
|
@ -113,8 +113,7 @@ public class Window extends BaseWindow {
|
||||||
@Override
|
@Override
|
||||||
public IRenderContext renderStart() {
|
public IRenderContext renderStart() {
|
||||||
textureAtlas.update();
|
textureAtlas.update();
|
||||||
glClearColor(0.1f, 0.2f, 0.3f, 1.0f);
|
glClearColor(0.f, 0.f, 0.f, 1.0f);
|
||||||
glClearColor(0.5f, 0.5f, 0.5f, 1.0f);
|
|
||||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||||
program.use();
|
program.use();
|
||||||
//glBegin(GL_TRIANGLES);
|
//glBegin(GL_TRIANGLES);
|
||||||
|
|
Loading…
Reference in New Issue