aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.h
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-01-26 09:25:04 +0100
committerBad Diode <bd@badd10de.dev>2021-01-26 10:34:46 +0100
commit21924d5e08814cc9028dc3866d8b97d8422807f4 (patch)
tree2e185715bdb0521be5c67633defa51fd64c03713 /src/app.h
parent71ab55ad22abd7ba8d6c41fa4c9ff5aa69db8284 (diff)
downloadmic-opengl-example-21924d5e08814cc9028dc3866d8b97d8422807f4.tar.gz
mic-opengl-example-21924d5e08814cc9028dc3866d8b97d8422807f4.zip
Add triangle rendering w/ shader recompilation
Diffstat (limited to 'src/app.h')
-rw-r--r--src/app.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app.h b/src/app.h
index 613360f..16dc8a5 100644
--- a/src/app.h
+++ b/src/app.h
@@ -10,6 +10,10 @@
10typedef struct AppState { 10typedef struct AppState {
11 // OpenGL 11 // OpenGL
12 GLFWwindow *window; 12 GLFWwindow *window;
13 f32 vertices[12];
14 u32 VBO;
15 u32 VAO;
16 u32 shader_program;
13} AppState; 17} AppState;
14 18
15// Function pointers for the AppAPI. 19// Function pointers for the AppAPI.