You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-06 17:25:19 +00:00
[gles2] fix black bar artifacts
This commit is contained in:
@@ -3641,6 +3641,7 @@ void RasterizerStorageGLES2::_render_target_allocate(RenderTarget *rt) {
|
||||
|
||||
texture_set_flags(rt->texture, texture->flags);
|
||||
|
||||
glClearColor(0, 0, 0, 0);
|
||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
|
||||
// copy texscreen buffers
|
||||
|
||||
Reference in New Issue
Block a user