mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Fix example for updated gles
This commit is contained in:
parent
67369173aa
commit
1901c3e1b6
5 changed files with 5 additions and 6 deletions
|
|
@ -152,8 +152,7 @@ int main(int argc, char *argv[]) {
|
|||
};
|
||||
compositor_init(&compositor);
|
||||
|
||||
state.renderer = wlr_gles2_renderer_init(compositor.backend->egl);
|
||||
|
||||
state.renderer = wlr_gles2_renderer_init();
|
||||
compositor_run(&compositor);
|
||||
|
||||
wlr_renderer_destroy(state.renderer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue