renderer/gles2: Bail rendering to external buffers when binding them

We can't do it while we're creating them because we'll want to use
gles2 buffers for textures soon.
This commit is contained in:
Alexander Orzechowski 2023-11-30 10:13:14 -05:00
parent 0d9cd6932a
commit 484e248446
2 changed files with 7 additions and 7 deletions

View file

@ -103,6 +103,7 @@ struct wlr_gles2_buffer {
struct wlr_buffer *buffer;
struct wlr_gles2_renderer *renderer;
struct wl_list link; // wlr_gles2_renderer.buffers
bool external_only;
EGLImageKHR image;
GLuint rbo;