From fdc40e071ed103d6bdc03fa6181dedef296b0509 Mon Sep 17 00:00:00 2001 From: zccrs Date: Fri, 28 May 2021 14:06:49 +0800 Subject: render/gles2: add wlr_renderer_is_gles2 Export the interface used to determine whether the wlr_renderer object is gles2. --- include/wlr/render/gles2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/wlr') diff --git a/include/wlr/render/gles2.h b/include/wlr/render/gles2.h index 5bdf6edb..a97b495c 100644 --- a/include/wlr/render/gles2.h +++ b/include/wlr/render/gles2.h @@ -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); -- cgit v1.2.3