mirror of https://gitlab.freedesktop.org/mesa/mesa
wayland: Make eglQueryBufferWL succeed for width and height requests too
Following the addition of the EGL_WIDTH and EGL_HEIGHT this function should return EGL_TRUE for those requested attributes too.
This commit is contained in:
parent
396b861ceb
commit
15e64de9e6
|
@ -1623,10 +1623,10 @@ dri2_query_wayland_buffer_wl(_EGLDriver *drv, _EGLDisplay *disp,
|
|||
return EGL_TRUE;
|
||||
case EGL_WIDTH:
|
||||
*value = buffer->buffer.width;
|
||||
break;
|
||||
return EGL_TRUE;
|
||||
case EGL_HEIGHT:
|
||||
*value = buffer->buffer.height;
|
||||
break;
|
||||
return EGL_TRUE;
|
||||
}
|
||||
|
||||
return EGL_FALSE;
|
||||
|
|
Loading…
Reference in New Issue