From 52988946881a0dbe38285decc050f4b3f828ad65 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 28 Oct 2015 10:43:10 +0100 Subject: [PATCH] mesa: allow RGBA->RGB multi-sampled resolves --- src/mesa/main/blit.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/main/blit.c b/src/mesa/main/blit.c index a32f1a4..52574e7 100644 --- a/src/mesa/main/blit.c +++ b/src/mesa/main/blit.c @@ -154,6 +154,9 @@ compatible_resolve_formats(const struct gl_renderbuffer *readRb, if (readFormat == drawFormat) { return GL_TRUE; } + else if (readFormat == GL_RGBA8 && drawFormat == GL_RGB8) { + return GL_TRUE; + } return GL_FALSE; } -- 1.9.1