aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.zig
diff options
context:
space:
mode:
authors-ol <s+removethis@s-ol.nu>2025-03-04 20:15:04 +0000
committers-ol <s+removethis@s-ol.nu>2025-03-04 20:15:04 +0000
commit4ee4361915619ef309092ec5f26aa8d2b841f23f (patch)
tree7aa16b24f7572d8a9cc5057f23c9b0265b648e2f /src/main.zig
parentautomatically add GLSL 3.30 header (diff)
downloadglsl-view-4ee4361915619ef309092ec5f26aa8d2b841f23f.tar.gz
glsl-view-4ee4361915619ef309092ec5f26aa8d2b841f23f.zip
load videoes/textures relative to project_root
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig
index 55413fa..57eecd1 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -118,7 +118,7 @@ pub fn main() !void {
var cache = gl.UniformCache.init(std.heap.c_allocator, &main_program);
defer cache.deinit();
- const control = try ctrl.ControlServer.init(arena.allocator(), progress, config.osc, &cache);
+ const control = try ctrl.ControlServer.init(arena.allocator(), progress, &config, &cache);
defer control.destroy();
while (c.glfwWindowShouldClose(window) == c.GL_FALSE) {