diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-05-17 08:55:48 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-05-17 08:55:48 +0200 |
commit | aa9601e577e5ce7ac02f28b0a6f2d5dffc901c5f (patch) | |
tree | ac103be156c568a3758757ed65dedbc09cbc3b6b /uniform.h | |
parent | f6ce5684117032e6a42a769c01a339e80d945841 (diff) |
clean up uniform init/update code + fix window resizing
Diffstat (limited to 'uniform.h')
-rw-r--r-- | uniform.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/uniform.h b/uniform.h new file mode 100644 index 0000000..d7c58b3 --- /dev/null +++ b/uniform.h @@ -0,0 +1,10 @@ +#pragma once + +#include <stdlib.h> +#include <GL/glew.h> +#include <GLFW/glfw3.h> +#include <GL/gl.h> + +void init_uniform(GLuint shader, GLFWwindow* window); +void update_uniform(); + |