aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.zig b/src/main.zig
index 0883c15..1933e11 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -114,7 +114,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(cfg_allocator, progress, &config, &cache);
+ const control = try ctrl.ControlServer.init(cfg_allocator, progress, &cache, &config, &constants);
defer control.destroy();
while (c.glfwWindowShouldClose(window) == c.GL_FALSE) {
@@ -124,7 +124,6 @@ pub fn main() !void {
prev_time = now_time;
control.update();
- cache.update();
// const stat = try shader_file.stat();
// if (stat.mtime > last_stat.mtime or control.reload_requested) {