Fix typo in negative buffer API tests
authorMika Isojärvi <misojarvi@google.com>
Fri, 18 Mar 2016 21:57:34 +0000 (14:57 -0700)
committerMika Isojärvi <misojarvi@google.com>
Fri, 18 Mar 2016 21:57:34 +0000 (14:57 -0700)
Bug: 27745437
Change-Id: I32ad04035df3600adf2eb63ce7aff039d2f26084

modules/gles31/functional/es31fNegativeBufferApiTests.cpp

index 509d48c5eee17a84c8814c30eaa590a8bc755b54..aba970504949baa46bef727de06cbff5d9667e1a 100644 (file)
@@ -1253,7 +1253,7 @@ void framebuffer_texture2d (NegativeTestContext& ctx)
        ctx.expectError(GL_INVALID_VALUE);
        ctx.glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, texCube, -1);
        ctx.expectError(GL_INVALID_VALUE);
-       ctx.glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D_MULTISAMPLE, tex2D, 1);
+       ctx.glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D_MULTISAMPLE, tex2DMS, 1);
        ctx.expectError(GL_INVALID_VALUE);
        ctx.endSection();