summaryrefslogtreecommitdiff
path: root/src/pig.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-10-20 23:23:40 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-10-20 23:23:40 -0700
commit624b0a06edf7114950476a8ce79fff9927b1fc62 (patch)
tree159c9570df9c0bfdafe8f04c6b039fa8290b09a8 /src/pig.h
parent90ce0330f586dd7c0114beed6775ea6d47cf7c67 (diff)
pig: show sad face on shader errors
Introduces sad-node.[ch] implementing a simple sad face shader node, normally inactive but made active when the shader files fail to reload.
Diffstat (limited to 'src/pig.h')
-rw-r--r--src/pig.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pig.h b/src/pig.h
index 3f0a24c..849e290 100644
--- a/src/pig.h
+++ b/src/pig.h
@@ -28,6 +28,7 @@ typedef struct pig_t {
SDL_Window *window;
SDL_GLContext *gl;
stage_t *stage;
+ stage_t *sadface;
unsigned window_width, window_height;
unsigned windowed:1;
m4f_t transform;
© All Rights Reserved