changed window clear colour to black

This commit is contained in:
DaniTheSkunk 2022-10-09 01:03:46 +00:00
parent 0cfbf54f7e
commit f02b2a984e
1 changed files with 1 additions and 2 deletions

View File

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