Fix build on 32bit platforms
error: invalid cast from type ‘uintptr_t’ {aka ‘unsigned int’} to type ‘EGLNativeWindowType’ {aka ‘long unsigned int’}
This commit is contained in:
parent
a7a515a0af
commit
e26ea6bf23
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ EGLSurface EglOnXBackend::createSurface(xcb_window_t window)
|
|||
}
|
||||
|
||||
// Window is 64 bits on a 64-bit architecture whereas xcb_window_t is always 32 bits.
|
||||
uintptr_t nativeWindow = window;
|
||||
Window nativeWindow = window;
|
||||
|
||||
EGLSurface surface = EGL_NO_SURFACE;
|
||||
if (havePlatformBase()) {
|
||||
|
|
Loading…
Reference in a new issue