Set bit in blit mask to settle ambiguity
authorMika Isojärvi <misojarvi@google.com>
Tue, 22 Mar 2016 23:25:53 +0000 (16:25 -0700)
committerMika Isojärvi <misojarvi@google.com>
Tue, 22 Mar 2016 23:25:53 +0000 (16:25 -0700)
Bug: 27658048
Change-Id: Icc09ae2de5e9a3f0b235111d156b141f02ef36e3

modules/gles31/functional/es31fNegativeBufferApiTests.cpp

index aba9705..1d3b046 100644 (file)
@@ -1487,7 +1487,7 @@ void blit_framebuffer (NegativeTestContext& ctx)
        ctx.beginSection("GL_INVALID_OPERATION is generated if the source and destination buffers are identical.");
        ctx.glBindFramebuffer           (GL_DRAW_FRAMEBUFFER, fbo[0]);
        ctx.expectError                         (GL_NO_ERROR);
-       ctx.glBlitFramebuffer           (0, 0, 16, 16, 0, 0, 16, 16, 0, GL_NEAREST);
+       ctx.glBlitFramebuffer           (0, 0, 16, 16, 0, 0, 16, 16, GL_DEPTH_BUFFER_BIT, GL_NEAREST);
        ctx.expectError                         (GL_INVALID_OPERATION);
        // restore
        ctx.glBindFramebuffer           (GL_DRAW_FRAMEBUFFER, fbo[1]);