mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
render: Flip textures in case of inverted_y
This commit is contained in:
parent
6c7e1c867c
commit
2d0db16942
4 changed files with 10 additions and 2 deletions
|
|
@ -164,6 +164,7 @@ static bool gles2_texture_upload_drm(struct wlr_texture *_tex,
|
|||
|
||||
EGLint inverted_y;
|
||||
wlr_egl_query_buffer(tex->egl, buf, EGL_WAYLAND_Y_INVERTED_WL, &inverted_y);
|
||||
tex->wlr_texture.inverted_y = !!inverted_y;
|
||||
|
||||
GLenum target;
|
||||
const struct pixel_format *pf;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue