From bf76ba4a21701a25111f6a1e77a7c2fd5f95f574 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Thu, 22 Feb 2024 08:55:12 -0800 Subject: [PATCH] [test] Remove redundante/broken call to glTexImage2D. NFC (#21394) This line was fixed/patched in 2736a26860 but I think the old line was mistakenly left in. --- test/gl_subdata.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/test/gl_subdata.cpp b/test/gl_subdata.cpp index 9e27910d20a8..7719382d86bd 100644 --- a/test/gl_subdata.cpp +++ b/test/gl_subdata.cpp @@ -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