Merge branch 'gles2_texture_format' into 'master'

render/gles2: export gl fromat on texture attribs

See merge request wlroots/wlroots!5250
This commit is contained in:
JiDe Zhang 2026-02-04 02:44:51 +08:00
commit f92af7ec95
3 changed files with 4 additions and 0 deletions

View file

@ -124,6 +124,7 @@ struct wlr_gles2_texture {
// case.
GLuint tex;
GLuint fbo;
GLint format;
bool has_alpha;

View file

@ -40,6 +40,7 @@ struct wlr_gles2_texture_attribs {
GLuint tex;
bool has_alpha;
GLint format;
};
bool wlr_renderer_is_gles2(struct wlr_renderer *wlr_renderer);