Fixed uninitialized GLSL output variable, closes #70
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user