Improve macro hygiene in .frag files slightly.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 23 Mar 2014 01:27:39 +0000 (02:27 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 23 Mar 2014 01:27:39 +0000 (02:27 +0100)
blur_effect.frag
fft_pass_effect.frag
slice_effect.frag

index 8853854..afe9f2e 100644 (file)
@@ -22,3 +22,5 @@ vec4 FUNCNAME(vec2 tc) {
        }
        return sum;
 }
+
+#undef DIRECTION_VERTICAL
index edcf695..fcffba7 100644 (file)
@@ -22,3 +22,5 @@ vec4 FUNCNAME(vec2 tc) {
        // where * is complex multiplication.
        return c1 + support.z * c2 + support.w * vec4(-c2.y, c2.x, -c2.w, c2.z);
 }
+
+#undef DIRECTION_VERTICAL
index 59e3cc1..e77c9fa 100644 (file)
@@ -25,3 +25,5 @@ vec4 FUNCNAME(vec2 tc) {
        return INPUT(vec2(input_coord, tc.y));
 #endif
 }
+
+#undef DIRECTION_VERTICAL