mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 22:48:14 +02:00
window: Add a simple getenv to force SHM rendering
This commit is contained in:
parent
bd600774be
commit
bf39e5e1ba
1 changed files with 2 additions and 2 deletions
|
|
@ -4351,11 +4351,11 @@ surface_create(struct window *window)
|
|||
return surface;
|
||||
}
|
||||
|
||||
static window_buffer_type
|
||||
static enum window_buffer_type
|
||||
get_preferred_buffer_type(struct display *display)
|
||||
{
|
||||
#ifdef HAVE_CAIRO_EGL
|
||||
if (display->argb_device)
|
||||
if (display->argb_device && !getenv("TOYTOOLKIT_NO_EGL"))
|
||||
return WINDOW_BUFFER_TYPE_EGL_WINDOW;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue