diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2023-11-30 10:13:14 -0500 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2023-11-30 10:13:18 -0500 |
commit | 484e2484469178e1a0e3628296093a4f934ccd68 (patch) | |
tree | 88d460c7f7a56cc79097863fa23a408f2cf08812 /include/render | |
parent | 0d9cd6932a01ad481074cc814857579c5b23e9af (diff) |
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.
Diffstat (limited to 'include/render')
-rw-r--r-- | include/render/gles2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/render/gles2.h b/include/render/gles2.h index cd629523..c8ee3142 100644 --- a/include/render/gles2.h +++ b/include/render/gles2.h @@ -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; |