diff options
-rw-r--r-- | render/wlr_renderer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c index 523079a8..36837eda 100644 --- a/render/wlr_renderer.c +++ b/render/wlr_renderer.c @@ -424,6 +424,8 @@ out: } struct wlr_renderer *renderer_autocreate_with_drm_fd(int drm_fd) { + assert(drm_fd >= 0); + return renderer_autocreate(NULL, drm_fd); } |