render/gles2: keep ref to wlr_gles2_renderer in wlr_gles2_texture

This commit is contained in:
Simon Ser 2020-07-28 13:56:29 +02:00 committed by Drew DeVault
parent 26af316b3b
commit e8872d9ed7
2 changed files with 24 additions and 27 deletions

View file

@ -79,7 +79,7 @@ struct wlr_gles2_renderer {
struct wlr_gles2_texture {
struct wlr_texture wlr_texture;
struct wlr_egl *egl;
struct wlr_gles2_renderer *renderer;
// Basically:
// GL_TEXTURE_2D == mutable