]> git.sesse.net Git - narabu/blob - util.h
More fixes of hard-coded values.
[narabu] / util.h
1 #ifndef _UTIL_H
2 #define _UTIL_H 1
3
4 #include <string>
5
6 #include <epoxy/gl.h>
7
8 // Read a file from disk and return its contents.
9 // Dies if the file does not exist.
10 std::string read_file(const std::string &filename);
11
12 GLuint compile_shader(const std::string &shader_src, GLenum type);
13
14 #endif // !defined(_UTIL_H)
15