glsl.h (287B)
1 2 3 4 5 6 7 8 9 10 11 12 | #ifndef _GLSL_H_ #define _GLSL_H_ #include "glad.h" #define GLSL( shader ) "#version 330\n" #shader void check_compile_status( GLuint shader ); void check_link_status( GLuint prog ); GLuint compile_shader( const char * vert, const char * frag, const char * out ); #endif // _GLSL_H_ |