Fix a number of bugs and stuff affecting Vulkan on Mali

This commit is contained in:
Henrik Rydgård committed 2017-05-30 09:36:17 +02:00
1 parent bd9f3af0bd
commit c173da49d3
18 files changed
+91 -63

No files matched your search

+1 -1
View File
@@ -1089,7 +1089,7 @@ void FramebufferManagerGLES::PackFramebufferSync_(VirtualFramebuffer *vfb, int x
if (gl_extensions.GLES3 && glInvalidateFramebuffer != nullptr) {
#ifdef USING_GLES2
// GLES3 doesn't support using GL_READ_FRAMEBUFFER here.
draw_->BindFramebufferAsRenderTarget(vfb->fbo);
draw_->BindFramebufferAsRenderTarget(vfb->fbo, { Draw::RPAction::DONT_CARE, Draw::RPAction::DONT_CARE });
const GLenum target = GL_FRAMEBUFFER;
#else
const GLenum target = GL_READ_FRAMEBUFFER;