vtgl

terminal emulator implemented in OpenGL
git clone anongit@rnpnr.xyz:vtgl.git
Log | Files | Refs | Feed | LICENSE

Commit: 7a8fe5179af21e2db28ff35be66a03a3c508ff1c
Parent: 5b6ad6b5064ec22414ce5f76a3b289b97e6844db
Author: Randy Palamar
Date:   Fri, 29 Nov 2024 18:28:41 -0700

delete a couple unnecessary gl buffer bindings

Diffstat:
Mvtgl.c | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)

diff --git a/vtgl.c b/vtgl.c @@ -1259,9 +1259,6 @@ DEBUG_EXPORT VTGL_RENDER_FRAME_FN(vtgl_render_frame) glBindFramebuffer(GL_FRAMEBUFFER, t->gl.fb); clear_colour(); - glBindBuffer(GL_SHADER_STORAGE_BUFFER, t->gl.render_shader_ssbo); - glBindBufferBase(GL_SHADER_STORAGE_BUFFER, 0, t->gl.render_shader_ssbo); - if (t->gl.flags & UPDATE_RENDER_BUFFER) { u32 cell_count = t->size.h * t->size.w; RenderCell *render_buf = alloc(&arena, RenderCell, cell_count); @@ -1281,8 +1278,6 @@ DEBUG_EXPORT VTGL_RENDER_FRAME_FN(vtgl_render_frame) sp->reverse_video_mask = REVERSE_VIDEO_MASK * !!(t->mode.win & WM_REVERSE); - glBindBuffer(GL_UNIFORM_BUFFER, t->gl.render_shader_ubo); - glBindBufferBase(GL_UNIFORM_BUFFER, 0, t->gl.render_shader_ubo); glBufferSubData(GL_UNIFORM_BUFFER, 0, sizeof(*sp), sp); push_rect_textured(&rc, (Rect){.size = v2_from_iv2(t->gl.window_size)}, (v4){0}, 0);