From 624b0a06edf7114950476a8ce79fff9927b1fc62 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Tue, 20 Oct 2020 23:23:40 -0700 Subject: 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. --- src/pig.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pig.h') 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; -- cgit v1.2.3