Fixed the colors

This commit is contained in:
YourWishes committed 2023-03-21 01:03:42 -07:00
1 parent 332c8e5319
commit bfa0a907f0
3 files changed
+11 -18

No files matched your search

@@ -34,12 +34,7 @@ void BackBufferRenderTarget::setClearColor(struct Color color) {
void BackBufferRenderTarget::clear(flag8_t clearFlags) {
auto clear = this->clearColor.precision();
glClearColor(
clear.r,
clear.g,
clear.b,
clear.a
);
glClearColor(clear.r, clear.g, clear.b, clear.a);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
}