summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHal Gentz <[email protected]>2019-10-10 18:35:50 -0600
committerAdam Jackson <[email protected]>2019-10-11 21:57:21 +0000
commit075a96aa926e6e89795f95a6a59693f44d9ac970 (patch)
tree81b0142a0494f8325711ab37542bb2f7051e57af /include
parenta800d16e4f1589e41e53edf8e8a771a33bb46a6a (diff)
egl: Configs w/o double buffering support have no `EGL_WINDOW_BIT`.
When users pass a config to `eglCreateWindowSurface` it requests double buffering, but if the config doesn't have the appropriate `__DRIconfig`, `eglCreateWindowSurface` fails with a `EGL_BAD_MATCH`. Given that such behaviour is completely unacceptable, we drop the `EGL_WINDOW_BIT` if we don't have at least one `__DRIconfig` supporting double buffering, otherwise dropping the `EGL_PIXMAP_BIT`. Fixes: 049f343e8ac "egl: Allow 24-bit visuals for 32-bit RGBA8888 configs" Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=67676 Cc: [email protected] Reviewed-by: Adam Jackson <[email protected]> Signed-off-by: Hal Gentz <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions