1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

[gles2] fix black bar artifacts

This commit is contained in:
Thomas Herzog
2018-08-15 17:12:21 +02:00
parent 2f20836e52
commit 0ef85b55e0
3 changed files with 8 additions and 0 deletions

View File

@@ -75,6 +75,7 @@ void RasterizerCanvasGLES2::canvas_begin() {
}
if (storage->frame.clear_request) {
glColorMask(true, true, true, true);
glClearColor(storage->frame.clear_request_color.r,
storage->frame.clear_request_color.g,
storage->frame.clear_request_color.b,