mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-13 13:29:44 -05:00
render/gles2: add wlr_renderer_is_gles2
Export the interface used to determine whether the wlr_renderer object is gles2.
This commit is contained in:
parent
103edde481
commit
fdc40e071e
2 changed files with 6 additions and 1 deletions
|
|
@ -30,6 +30,7 @@ struct wlr_gles2_texture_attribs {
|
|||
bool has_alpha;
|
||||
};
|
||||
|
||||
bool wlr_renderer_is_gles2(struct wlr_renderer *wlr_renderer);
|
||||
bool wlr_texture_is_gles2(struct wlr_texture *texture);
|
||||
void wlr_gles2_texture_get_attribs(struct wlr_texture *texture,
|
||||
struct wlr_gles2_texture_attribs *attribs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue