Removed the lines forcing black screen on android GLES2
This commit is contained in:
parent
c93888ae71
commit
5a74b15b3d
@ -392,12 +392,6 @@ void RasterizerGLES2::end_frame(bool p_swap_buffers) {
|
|||||||
OS::get_singleton()->swap_buffers();
|
OS::get_singleton()->swap_buffers();
|
||||||
else
|
else
|
||||||
glFinish();
|
glFinish();
|
||||||
|
|
||||||
if (p_swap_buffers) {
|
|
||||||
glColorMask(true, true, true, true);
|
|
||||||
glClearColor(0, 0, 0, 1);
|
|
||||||
glClear(GL_COLOR_BUFFER_BIT);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RasterizerGLES2::finalize() {
|
void RasterizerGLES2::finalize() {
|
||||||
|
Loading…
Reference in New Issue
Block a user