summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorThomas Herzog <thomas.herzog@mail.com>2018-08-18 12:40:34 +0200
committerGitHub <noreply@github.com>2018-08-18 12:40:34 +0200
commitf3c09b5088503b46ad1ca7afbd56c13a2565627d (patch)
tree67382655355734f59d09a1e903e2e18ba433025f /drivers
parentc93888ae71bcc2b633f335b407c75412a493012d (diff)
parent5a74b15b3dbdc4fcd5e5b8e59f370882a488348a (diff)
Merge pull request #21134 from dumitru-stama/fix_black_screen
Removed the lines forcing black screen on android GLES2
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gles2/rasterizer_gles2.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gles2/rasterizer_gles2.cpp b/drivers/gles2/rasterizer_gles2.cpp
index 73d93f7b46..a1a0b9e2c6 100644
--- a/drivers/gles2/rasterizer_gles2.cpp
+++ b/drivers/gles2/rasterizer_gles2.cpp
@@ -392,12 +392,6 @@ void RasterizerGLES2::end_frame(bool p_swap_buffers) {
OS::get_singleton()->swap_buffers();
else
glFinish();
-
- if (p_swap_buffers) {
- glColorMask(true, true, true, true);
- glClearColor(0, 0, 0, 1);
- glClear(GL_COLOR_BUFFER_BIT);
- }
}
void RasterizerGLES2::finalize() {