Remove glClear calls to see if it work

This commit is contained in:
Duy Tran Khanh committed 2021-01-07 17:36:33 +07:00
1 parent 9ffb7bf639
commit 1db515d85c
1 file changed
+2 -2
+2 -2
View File
@@ -55,8 +55,8 @@
{
[EAGLContext setCurrentContext:self.context];
glClearColor(0.1, 0.1f, 0.1f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT);
// glClearColor(0.1, 0.1f, 0.1f, 1.0f);
// glClear(GL_COLOR_BUFFER_BIT);
CGRect screenBounds = [[UIScreen mainScreen] bounds];
CGFloat screenScale = [[UIScreen mainScreen] scale];