From 378f80d61a8ead4044df1f5f13d20ef326c3bc3b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mika=20Isoj=C3=A4rvi?= Date: Tue, 22 Mar 2016 16:25:53 -0700 Subject: [PATCH] Set bit in blit mask to settle ambiguity Bug: 27658048 Change-Id: Icc09ae2de5e9a3f0b235111d156b141f02ef36e3 --- modules/gles31/functional/es31fNegativeBufferApiTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); -- 2.7.4