Skip to content

Commit bf76ba4

Browse files
authored
[test] Remove redundante/broken call to glTexImage2D. NFC (#21394)
This line was fixed/patched in 2736a26 but I think the old line was mistakenly left in.
1 parent ad6cfa2 commit bf76ba4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/gl_subdata.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ static void updateFloatTexture() {
6666
++count;
6767
}
6868
glBindTexture(GL_TEXTURE_2D, nodeTexture);
69-
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F, nbNodes, 1, 0, GL_RGBA, GL_FLOAT, data);
7069
#ifdef __EMSCRIPTEN__ // In GLES2 and WebGL1, we must use unsized texture internal formats.
7170
const GLenum internalFormat = GL_RGBA;
7271
#else

0 commit comments

Comments
 (0)