aboutsummaryrefslogtreecommitdiff
path: root/src/shader/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader/util.h')
-rw-r--r--src/shader/util.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/shader/util.h b/src/shader/util.h
new file mode 100644
index 0000000..31224e9
--- /dev/null
+++ b/src/shader/util.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include <string>
+
+#include <GL/glew.h>
+
+namespace util {
+
+GLint getUniform(GLuint program, const std::string& name);
+
+GLint compileShader(const std::string& source, GLenum type);
+
+}