tinywl: fix wlr_backend_autocreate call

master
Simon Zeni 4 years ago committed by Simon Ser
parent 826108373c
commit 1458f7d974

@ -841,12 +841,8 @@ int main(int argc, char *argv[]) {
/* The backend is a wlroots feature which abstracts the underlying input and /* The backend is a wlroots feature which abstracts the underlying input and
* output hardware. The autocreate option will choose the most suitable * output hardware. The autocreate option will choose the most suitable
* backend based on the current environment, such as opening an X11 window * 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 * if an X11 server is running. */
* to pass in a custom renderer if wlr_renderer doesn't meet your needs. The server.backend = wlr_backend_autocreate(server.wl_display);
* 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 we don't provide a renderer, autocreate makes a GLES2 renderer for us. /* 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 * The renderer is responsible for defining the various pixel formats it

Loading…
Cancel
Save