diff options
Diffstat (limited to 'gltest.c')
-rw-r--r-- | gltest.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -5,12 +5,12 @@ #include <GLFW/glfw3.h> #include <stdbool.h> +#include "assets.h" #include "eprintf.h" #include "gldefs.h" #include "glprog.h" #include "linmath.h" #include "loadgl.h" -#include "shaders.h" #include "nelem.h" enum { @@ -90,8 +90,8 @@ int main(int argc, char **argv) gl_va_enable(2); prog = glprog_load(2, (struct shdrdat []){ - { GL_VERTEX_SHADER, shader_vert_data, shader_vert_size }, - { GL_FRAGMENT_SHADER, shader_frag_data, shader_frag_size }, + { GL_VERTEX_SHADER, vert_glsl.data, vert_glsl.size }, + { GL_FRAGMENT_SHADER, frag_glsl.data, frag_glsl.size }, }, 1, &(struct unidat){ "ucolor", &ucolor }); |