aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/main.c b/main.c
index 0ff0706..09cf2fb 100644
--- a/main.c
+++ b/main.c
@@ -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