Commit: df3f879fbdd93cb79673b3031d13ceda1552aba1
Parent: 29fcd326617dfff627f0c397a0e2ac8665c22c78
Author: Randy Palamar
Date: Thu, 13 Feb 2025 21:03:44 -0700
beamformer: don't try gen mipmaps for an invalid texture at startup
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/static.c b/static.c
@@ -332,6 +332,7 @@ setup_beamformer(BeamformerCtx *ctx, Arena *memory)
s8 render = s8(static_path_join("shaders", "render.glsl"));
reload_render_shader(render, (iptr)&ctx->fsctx, *memory);
os_add_file_watch(&ctx->platform, memory, render, reload_render_shader, (iptr)&ctx->fsctx);
+ ctx->fsctx.gen_mipmaps = 0;
/* TODO(rnp): remove this */
ComputeShaderCtx *csctx = &ctx->csctx;