diff options
Diffstat (limited to 'src/fshader_post.glsl')
-rw-r--r-- | src/fshader_post.glsl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fshader_post.glsl b/src/fshader_post.glsl index c540f0d..b3df51b 100644 --- a/src/fshader_post.glsl +++ b/src/fshader_post.glsl @@ -13,6 +13,7 @@ uniform int u_flash_icon; #define ICON_PAUSE 3 #define ICON_REWIND 4 #define ICON_SCREENSHOT 5 +#define ICON_ERROR 6 bool play_icon(vec2 pos) { vec2 a = abs(pos); @@ -27,6 +28,7 @@ bool get_icon(vec2 pos) { case 0: break; case ICON_COPY: case ICON_SCREENSHOT: + case ICON_ERROR: icon = abs(pos.x) > u_aspect_ratio - 0.1 || abs(pos.y) > 0.9; break; case ICON_PLAY: |