mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-26 02:53:06 +00:00
wayland/opengl: fix o->egl_window_native warning
This commit is contained in:
@@ -174,7 +174,7 @@ static int create(MwWidget handle) {
|
|||||||
|
|
||||||
o->egl_window_native =
|
o->egl_window_native =
|
||||||
(EGLNativeWindowType)wl_egl_window_create(handle->lowlevel->wayland.framebuffer.surface, handle->lowlevel->wayland.ww, handle->lowlevel->wayland.wh);
|
(EGLNativeWindowType)wl_egl_window_create(handle->lowlevel->wayland.framebuffer.surface, handle->lowlevel->wayland.ww, handle->lowlevel->wayland.wh);
|
||||||
if(o->egl_window_native == EGL_NO_SURFACE) {
|
if(!o->egl_window_native) {
|
||||||
printf("ERROR: wl_egl_window_create, EGL_NO_SURFACE\n");
|
printf("ERROR: wl_egl_window_create, EGL_NO_SURFACE\n");
|
||||||
return MwFALSE;
|
return MwFALSE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user