From a100785d68fdef2edb36b6439908ac2dde57796c Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com> Date: Sun, 30 Jul 2023 18:15:20 +0700 Subject: [PATCH] Fix[ANGLE]: comment out test code --- Natives/external/gl4es/tinygl4angle.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Natives/external/gl4es/tinygl4angle.c b/Natives/external/gl4es/tinygl4angle.c index 211af694..0883b3d2 100644 --- a/Natives/external/gl4es/tinygl4angle.c +++ b/Natives/external/gl4es/tinygl4angle.c @@ -237,12 +237,14 @@ void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffse } // Override with stub +#if 0 float *pixels = malloc(width*height*sizeof(float)); for (int i = 0; i < width*height; i++) { pixels[i] = 0.5f; } glTexSubImage2D(target, level, xoffset, yoffset, width, height, GL_DEPTH_COMPONENT, GL_FLOAT, pixels); free(pixels); +#endif #if 0 static GLuint depthFB;