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

@ -54,11 +54,10 @@ bool wlr_renderer_buffer_is_drm(struct wlr_renderer *renderer,
void wlr_renderer_destroy(struct wlr_renderer *renderer);
struct wlr_texture_impl;
struct wlr_texture_state;
struct wlr_texture {
struct wlr_texture_impl *impl;
struct wlr_texture_state *state;
bool valid;
uint32_t format;
int width, height;