Fixed uninitialized GLSL output variable, closes #70

This commit is contained in:
Jarcode
2018-11-13 17:04:12 -08:00
parent 426f70f579
commit 76325cb126

View File

@@ -33,6 +33,8 @@ out vec4 fragment;
float apply_smooth(float theta) { float apply_smooth(float theta) {
fragment = vec4(0, 0, 0, 0);
float idx = theta + ROTATE; float idx = theta + ROTATE;
float dir = mod(abs(idx), TWOPI); float dir = mod(abs(idx), TWOPI);
if (dir > PI) if (dir > PI)