Fix[ANGLE]: comment out test code
This commit is contained in:
1 parent
f2679bcec4
commit
a100785d68
1 file changed
+2
+2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user