Fix[ANGLE]: comment out test code

This commit is contained in:
Duy Tran Khanh authored and GitHub committed 2023-07-30 18:15:20 +07:00
1 parent f2679bcec4
commit a100785d68
1 file changed
+2
+2
View File
@@ -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;