From 484e2484469178e1a0e3628296093a4f934ccd68 Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Thu, 30 Nov 2023 10:13:14 -0500 Subject: 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. --- include/render/gles2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/render') 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; -- cgit v1.2.3