Disable second 'graph' pass if nessecary (& other formatting), see #97

This commit is contained in:
Jarcode
2019-02-05 17:45:17 -08:00
parent 7c30c4a78a
commit f87c70af2b
2 changed files with 28 additions and 24 deletions

View File

@@ -9,6 +9,10 @@ out vec4 fragment; /* output */
#include "@graph.glsl"
#include ":graph.glsl"
#if DRAW_OUTLINE == 0 && DRAW_HIGHLIGHT == 0
#error __disablestage
#endif
void main() {
fragment = texelFetch(tex, ivec2(gl_FragCoord.x, gl_FragCoord.y), 0);