aboutsummaryrefslogtreecommitdiff
path: root/tinywl
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2021-01-05 22:08:22 -0500
committerSimon Ser <contact@emersion.fr>2021-01-07 14:39:04 +0100
commit1458f7d9744e96a6f99f5d024744908ded12e77d (patch)
treec26a45d91fff38f6413ab2c668178002041c068d /tinywl
parent826108373c76f3f08476d7bfcddb21ef269e804c (diff)
tinywl: fix wlr_backend_autocreate call
Diffstat (limited to 'tinywl')
-rw-r--r--tinywl/tinywl.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/tinywl/tinywl.c b/tinywl/tinywl.c
index e2cf30a0..3232df3a 100644
--- a/tinywl/tinywl.c
+++ b/tinywl/tinywl.c
@@ -841,12 +841,8 @@ int main(int argc, char *argv[]) {
/* The backend is a wlroots feature which abstracts the underlying input and
* output hardware. The autocreate option will choose the most suitable
* backend based on the current environment, such as opening an X11 window
- * if an X11 server is running. The NULL argument here optionally allows you
- * to pass in a custom renderer if wlr_renderer doesn't meet your needs. The
- * backend uses the renderer, for example, to fall back to software cursors
- * if the backend does not support hardware cursors (some older GPUs
- * don't). */
- server.backend = wlr_backend_autocreate(server.wl_display, NULL);
+ * if an X11 server is running. */
+ server.backend = wlr_backend_autocreate(server.wl_display);
/* If we don't provide a renderer, autocreate makes a GLES2 renderer for us.
* The renderer is responsible for defining the various pixel formats it