aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.h')
-rw-r--r--src/app.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/app.h b/src/app.h
index 8edbe58..613360f 100644
--- a/src/app.h
+++ b/src/app.h
@@ -1,16 +1,15 @@
1#ifndef MIC_APP_H 1#ifndef MIC_APP_H
2#define MIC_APP_H 2#define MIC_APP_H
3 3
4#include <GL/glew.h>
5#include <GLFW/glfw3.h>
6
4#include "shorthand.h" 7#include "shorthand.h"
5#include "platform.h" 8#include "platform.h"
6 9
7#define LT_MEMORY_SIZE GB(2)
8#define ST_MEMORY_SIZE MB(100)
9
10typedef struct AppState { 10typedef struct AppState {
11 // Long and short term memory. 11 // OpenGL
12 char *lt_memory; 12 GLFWwindow *window;
13 char *st_memory;
14} AppState; 13} AppState;
15 14
16// Function pointers for the AppAPI. 15// Function pointers for the AppAPI.