diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -6,14 +6,14 @@ #include "die.h" #include "config.h" -#include "hello_vert.h" -#include "hello_frag.h" +#include "fill_vert.h" +#include "visuals_frag.h" void prepare_tri() { const float vertices[] = { + 0, 1, 0, + 1, -1, 0, -1, -1, 0, - 3, -1, 0, - -1, 3, 0, }; // initialize vertex {buffer,attribute} object buffers @@ -59,8 +59,8 @@ int main(int argc, char** argv) { // prepare shaders GLuint shader = link_shaders( - vert_shader(hello_vert, hello_vert_size), - frag_shader(hello_frag, hello_frag_size) + vert_shader(fill_vert, fill_vert_size), + frag_shader(visuals_frag, visuals_frag_size) ); // main draw loop |