Skip to content

Commit

Permalink
[test] Remove redundante/broken call to glTexImage2D. NFC (#21394)
Browse files Browse the repository at this point in the history
This line was fixed/patched in 2736a26 but I think the old line
was mistakenly left in.
  • Loading branch information
sbc100 committed Feb 22, 2024
1 parent ad6cfa2 commit bf76ba4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/gl_subdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ static void updateFloatTexture() {
++count;
}
glBindTexture(GL_TEXTURE_2D, nodeTexture);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F, nbNodes, 1, 0, GL_RGBA, GL_FLOAT, data);
#ifdef __EMSCRIPTEN__ // In GLES2 and WebGL1, we must use unsized texture internal formats.
const GLenum internalFormat = GL_RGBA;
#else
Expand Down

0 comments on commit bf76ba4

Please sign in to comment.