Merge "Set bit in blit mask to settle ambiguity" into nyc-dev
authorMika Isojärvi <misojarvi@google.com>
Thu, 24 Mar 2016 17:48:09 +0000 (17:48 +0000)
committerandroid-build-merger <android-build-merger@google.com>
Thu, 24 Mar 2016 17:48:09 +0000 (17:48 +0000)
am: 78bda03

* commit '78bda03a6167c6697598f3f4497b4f0afb687c0c':
  Set bit in blit mask to settle ambiguity

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]);