Revert "Fix compile issue in https://bugs.kde.org/show_bug.cgi?id=440372"
https://invent.kde.org/plasma/kwin/-/merge_requests/1220
This reverts commit 44ad9437c4
because it
breaks build:
platforms/x11/common/eglonxbackend.cpp:224:66: error: cannot initialize a parameter of type 'EGLNativeWindowType' (aka 'unsigned long') with an rvalue of type 'xcb_window_t *' (aka 'unsigned int *')
surface = eglCreateWindowSurface(eglDisplay(), config(), &window, nullptr);
^~~~~~~
This commit is contained in:
parent
44ad9437c4
commit
896880be96
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