Fixed the colors

This commit is contained in:
2023-03-21 01:03:42 -07:00
parent 5cc51e3fd0
commit 9ea6d600b4
3 changed files with 11 additions and 18 deletions

View File

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