This commit is contained in:
nerdopolis turfwalker 2021-08-03 08:28:04 -04:00
parent b90d92a8fb
commit 44ad9437c4

View file

@ -221,7 +221,7 @@ EGLSurface EglOnXBackend::createSurface(xcb_window_t window)
// cannot be an xcb_window_t.
surface = eglCreatePlatformWindowSurfaceEXT(eglDisplay(), config(), (void *) &window, nullptr);
} else {
surface = eglCreateWindowSurface(eglDisplay(), config(), window, nullptr);
surface = eglCreateWindowSurface(eglDisplay(), config(), &window, nullptr);
}
return surface;