From 6a86184d08c829ab00c889144727e379968326f1 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Wed, 21 Feb 2024 18:09:47 -0800 Subject: [PATCH] [test] Remove redundante/broken call to glTexImage2D. NFC 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 9e27910d20a8d..7719382d86bd2 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