wayland/opengl: fix o->egl_window_native warning
This commit is contained in:
parent
933b5198c7
commit
8cdffa12ae
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue