vfr on wayland (even on nvidia), add uninstall script

This commit is contained in:
dec05eba
2023-07-21 15:11:13 +02:00
parent de019711d1
commit 8cd0ae0162
7 changed files with 19 additions and 8 deletions

View File

@@ -249,7 +249,7 @@ static bool gsr_egl_create_window(gsr_egl *self, bool wayland) {
}
}
self->eglBindAPI(EGL_OPENGL_ES_API);
self->eglBindAPI(EGL_OPENGL_ES2_BIT);
self->egl_display = self->eglGetDisplay(self->wayland.dpy ? (EGLNativeDisplayType)self->wayland.dpy : (EGLNativeDisplayType)self->x11.dpy);
if(!self->egl_display) {