refactor: extract project related functions to project.c

This commit is contained in:
2025-11-08 14:58:34 +01:00
parent 197c0c70da
commit de5fc8c641
7 changed files with 181 additions and 119 deletions
+2 -3
View File
@@ -3,9 +3,8 @@
#ifndef SHADERS_H
#define SHADERS_H
ShaderProgram shaders_init(FileArray fragment_shaders, ConfigFile config,
SharedContext *context, VideoCaptureArray inputs,
StateConfig state_config, ShaderProgram *previous);
ShaderProgram shaders_init(Project project, SharedContext *context,
VideoCaptureArray inputs, ShaderProgram *previous);
void shaders_update(ShaderProgram program, FileArray fragment_shaders,
unsigned int i);