feat: rewrite to cpp + refactor into files
This commit is contained in:
10
include/shader.h
Normal file
10
include/shader.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#ifndef H_SHADER_
|
||||
#define H_SHADER_
|
||||
|
||||
#include <GLES2/gl2.h>
|
||||
|
||||
GLuint compile_shader(GLenum type, const char *src);
|
||||
|
||||
GLuint create_program(const char *vs_src, const char *fs_src);
|
||||
|
||||
#endif // H_SHADER_
|
||||
Reference in New Issue
Block a user