From 7f20bcd8e09d7ca784b46f2298000cc5131e67d0 Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 24 Feb 2021 10:11:41 +0100 Subject: [PATCH] egl: Fix ability to create multisample FBO Fixes #1089 --- panda/src/egldisplay/eglGraphicsPipe.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/panda/src/egldisplay/eglGraphicsPipe.cxx b/panda/src/egldisplay/eglGraphicsPipe.cxx index 18c2317664..86a9b4cf73 100644 --- a/panda/src/egldisplay/eglGraphicsPipe.cxx +++ b/panda/src/egldisplay/eglGraphicsPipe.cxx @@ -165,10 +165,9 @@ make_output(const std::string &name, // Early failure - if we are sure that this buffer WONT meet specs, we can // bail out early. if ((flags & BF_fb_props_optional)==0) { - if ((fb_prop.get_indexed_color() > 0)|| - (fb_prop.get_back_buffers() > 0)|| - (fb_prop.get_accum_bits() > 0)|| - (fb_prop.get_multisamples() > 0)) { + if (fb_prop.get_indexed_color() > 0 || + fb_prop.get_back_buffers() > 0 || + fb_prop.get_accum_bits() > 0) { return nullptr; } }