diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2015-03-24 13:12:03 +0100 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2015-03-26 09:54:48 +0200 |
commit | ace6920912bb96818960f411175de8b52b6b69ce (patch) | |
tree | f0264ca6222cc351c79dc44cdc5f02db0145d5bb /src/compositor-wayland.c | |
parent | a3e6a4a87a0fcc6cf4c05b9a85431c60208cf8c3 (diff) | |
download | weston-ace6920912bb96818960f411175de8b52b6b69ce.tar.gz |
compositor-{drm, wayland, x11}: remove useless tests for ->supports
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'src/compositor-wayland.c')
-rw-r--r-- | src/compositor-wayland.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c index 9b851b75..ca747c40 100644 --- a/src/compositor-wayland.c +++ b/src/compositor-wayland.c @@ -1962,8 +1962,7 @@ wayland_compositor_create(struct wl_display *display, int use_pixman, } if (!c->use_pixman) { - if (!gl_renderer->supports || - gl_renderer->supports(&c->base, "wayland") < 0) { + if (gl_renderer->supports(&c->base, "wayland") < 0) { weston_log("No support for " "EGL_{KHR,EXT,MESA}_platform_wayland; " "falling back to pixman.\n"); |