mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
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:
parent
0d9cd6932a
commit
484e248446
2 changed files with 7 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue