diff options
Diffstat (limited to 'progs/vpglsl/nestedifs.glsl')
-rw-r--r-- | progs/vpglsl/nestedifs.glsl | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/progs/vpglsl/nestedifs.glsl b/progs/vpglsl/nestedifs.glsl deleted file mode 100644 index abb235cd65b..00000000000 --- a/progs/vpglsl/nestedifs.glsl +++ /dev/null @@ -1,13 +0,0 @@ - -void main() { - gl_Position = gl_Vertex; - if (gl_Position.x < 0.5) { - if (gl_Position.y < 0.20) { - gl_FrontColor = vec4(1.0, 0.0, 0.0, 1.0); - } else { - gl_FrontColor = vec4(0.0, 1.0, 0.0, 1.0); - } - gl_FrontColor.y = 1.0; - } else - gl_FrontColor = gl_Color; -} |