If we don't have the surfaceless_context extension, we create a pbuffer as a dummy surface to work with. If we also don't have configless_context, then it is possible the config used for creating the context does not support pbuffers. Therefore, if both conditions apply, we need to pick a config that supports both window and pbuffer surfaces. This makes the "base" config compatible, but it does not yet guarantee that we actually pick it again when creating the pbuffer surface. Fixing that is another patch. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>dev
parent
5d6d2b10af
commit
88e5fcb55a
Loading…
Reference in new issue