diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-14 08:25:26 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-08-14 08:25:26 -0400 |
commit | 94e6e6334ba20ccc45cfa7e09aa787a00c1d29a0 (patch) | |
tree | bd970bc05c7069a1bc73817456d2a37ca2a51f9a /include/render/gles2.h | |
parent | c8c66191460387d9578b336d6ff624b0b10db698 (diff) |
Refactor out wlr_texture_state
Diffstat (limited to 'include/render/gles2.h')
-rw-r--r-- | include/render/gles2.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/render/gles2.h b/include/render/gles2.h index 3006872c..57e162c0 100644 --- a/include/render/gles2.h +++ b/include/render/gles2.h @@ -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; |