diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-10-20 23:23:40 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-10-20 23:23:40 -0700 |
commit | 624b0a06edf7114950476a8ce79fff9927b1fc62 (patch) | |
tree | 159c9570df9c0bfdafe8f04c6b039fa8290b09a8 /src/pig.h | |
parent | 90ce0330f586dd7c0114beed6775ea6d47cf7c67 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |