mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Refactor out wlr_texture_state
This commit is contained in:
parent
c8c6619146
commit
94e6e6334b
5 changed files with 76 additions and 70 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue