Refactor out wlr_texture_state

This commit is contained in:
Drew DeVault 2017-08-14 08:25:26 -04:00
parent c8c6619146
commit 94e6e6334b
5 changed files with 76 additions and 70 deletions

View file

@ -26,8 +26,9 @@ struct wlr_renderer_state {
struct wlr_egl *egl;
};
struct wlr_texture_state {
struct wlr_texture *wlr_texture;
struct wlr_gles2_texture {
struct wlr_texture wlr_texture;
struct wlr_egl *egl;
GLuint tex_id;
const struct pixel_format *pixel_format;