Fixed the colors
This commit is contained in:
		| @@ -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); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user