diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-08-04 12:16:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-04 12:16:34 -0400 |
commit | e8fa25e0276e179015c8bcd70e857734cb32ab08 (patch) | |
tree | 9dc5c73a9b7b7c82998001b3c35d36b61671a58a /backend/multi/backend.c | |
parent | 23e2c3c75968f5b2905b761e6cfc7eedb3f8ce81 (diff) | |
parent | 1a2b3445dcd2c53fa5a1e315e436f5814c8765e6 (diff) |
Merge pull request #1168 from manio/multi-gpu
Fix support for multiple GPU
Diffstat (limited to 'backend/multi/backend.c')
-rw-r--r-- | backend/multi/backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/multi/backend.c b/backend/multi/backend.c index f1d50347..e0038955 100644 --- a/backend/multi/backend.c +++ b/backend/multi/backend.c @@ -143,7 +143,7 @@ bool wlr_multi_backend_add(struct wlr_backend *_multi, struct wlr_renderer *multi_renderer = multi_backend_get_renderer(&multi->backend); struct wlr_renderer *backend_renderer = wlr_backend_get_renderer(backend); - if (multi_renderer != NULL && backend_renderer != NULL) { + if (multi_renderer != NULL && backend_renderer != NULL && multi_renderer != backend_renderer) { wlr_log(WLR_ERROR, "Could not add backend: multiple renderers at the " "same time aren't supported"); return false; |