fix shader color to see things again

This commit is contained in:
nek0 2017-11-18 15:35:46 +01:00
parent 3d532d6673
commit 13b1c8b389

View file

@ -72,7 +72,7 @@ load = do
fragmentShader = foldl BS.append BS.empty fragmentShader = foldl BS.append BS.empty
[ "varying vec2 f_texcoord;" [ "varying vec2 f_texcoord;"
, "void main(void) {" , "void main(void) {"
, " gl_FragColor = vec4(0,0,0,0.5);" , " gl_FragColor = vec4(1,1,1,0.5);"
, "}" , "}"
] ]
p <- GLU.simpleShaderProgramBS vertexShader fragmentShader p <- GLU.simpleShaderProgramBS vertexShader fragmentShader