summaryrefslogtreecommitdiff
path: root/progs/fpglsl/dowhile.glsl
blob: ed9d7296753886348ed263f93a7c666f6332b7bb (plain)
1
2
3
4
5
6
7
8
void main() {
    float sum = 0.0;
    do {
	sum += 0.1;
	break;
    } while (true);
    gl_FragColor = vec4(sum);
}