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

@@ -32,6 +32,8 @@ out vec4 fragment;
/* This shader is based on radial.glsl, refer to it for more commentary */
float apply_smooth(float theta) {
fragment = vec4(0, 0, 0, 0);
float idx = theta + ROTATE;
float dir = mod(abs(idx), TWOPI);