diff options
Diffstat (limited to 'tests/texturing/texsubimage.c')
-rw-r--r-- | tests/texturing/texsubimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/texturing/texsubimage.c b/tests/texturing/texsubimage.c index f5b9209bf..0388da615 100644 --- a/tests/texturing/texsubimage.c +++ b/tests/texturing/texsubimage.c @@ -298,7 +298,7 @@ test_format(GLenum target, GLenum intFormat) glTexSubImage2D(target, 0, tx, ty, tw, th, srcFormat, GL_UNSIGNED_BYTE, img); } - else if (target == GL_TEXTURE_2D) { + else if (target == GL_TEXTURE_3D) { glTexSubImage3D(target, 0, tx, ty, tz, tw, th, td, srcFormat, GL_UNSIGNED_BYTE, img); } |