src/shader.c

changeset 311
87ff4c57955d
parent 290
2eb3813562e7
equal deleted inserted replaced
310:9212be32d7a2 311:87ff4c57955d
31 #include "ascension/error.h" 31 #include "ascension/error.h"
32 #include "ascension/filesystem.h" 32 #include "ascension/filesystem.h"
33 33
34 #include <string.h> 34 #include <string.h>
35 #include <stdio.h> 35 #include <stdio.h>
36 #include <GL/glew.h> 36 #include "glad.h"
37 #include <cx/buffer.h> 37 #include <cx/buffer.h>
38 #include <cx/streams.h> 38 #include <cx/streams.h>
39 39
40 static char *asc_shader_load_code_file(const char *filename) { 40 static char *asc_shader_load_code_file(const char *filename) {
41 cxmutstr fpath = asc_filesystem_combine_paths(cx_strcast(asc_context.shader_path), cx_str(filename)); 41 cxmutstr fpath = asc_filesystem_combine_paths(cx_strcast(asc_context.shader_path), cx_str(filename));

mercurial