| 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)); |