From: Mika Isojärvi Date: Tue, 22 Mar 2016 23:25:53 +0000 (-0700) Subject: Set bit in blit mask to settle ambiguity X-Git-Tag: upstream/0.1.0~438^2~335^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=378f80d61a8ead4044df1f5f13d20ef326c3bc3b;p=platform%2Fupstream%2FVK-GL-CTS.git Set bit in blit mask to settle ambiguity Bug: 27658048 Change-Id: Icc09ae2de5e9a3f0b235111d156b141f02ef36e3 --- diff --git a/modules/gles31/functional/es31fNegativeBufferApiTests.cpp b/modules/gles31/functional/es31fNegativeBufferApiTests.cpp index aba9705..1d3b046 100644 --- a/modules/gles31/functional/es31fNegativeBufferApiTests.cpp +++ b/modules/gles31/functional/es31fNegativeBufferApiTests.cpp @@ -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]);