volviewer

Volumetric Data Toy Viewer
git clone anongit@rnpnr.xyz:volviewer.git
Log | Files | Refs | Feed | LICENSE

Commit: 8c78d59d1459db8fb91c7346593fe8734529b496
Parent: 2549a3bb8ff1f70b45d2da797ea1494f2c254074
Author: Randy Palamar
Date:   Mon, 26 May 2025 09:58:51 -0600

check for window close button being pressed

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

diff --git a/common.c b/common.c @@ -748,4 +748,6 @@ viewer_frame_step(ViewerContext *ctx, f32 dt) glBindTextureUnit(0, ctx->output_target.textures[0]); glBindVertexArray(ctx->overlay_render_context.vao); glDrawArrays(GL_TRIANGLES, 0, 6); + + ctx->should_exit |= glfwWindowShouldClose(ctx->window); }