Fix compile issue in https://bugs.kde.org/show_bug.cgi?id=440372
This commit is contained in:
parent
b90d92a8fb
commit
44ad9437c4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue