Use immutable storage for fullscreen vbo
This commit is contained in:
@@ -6,8 +6,8 @@ import Picture
|
||||
drawCloud :: CloudDraw -> Cloud -> Picture
|
||||
drawCloud cd = case cd of
|
||||
CloudColor radmult fadet col -> drawCloudWith radmult fadet col
|
||||
DrawGasCloud col -> const . setLayer MidLayer . setDepth 30 $ color (withAlpha 0.05 col)
|
||||
$ circleSolid 20
|
||||
-- DrawGasCloud col -> const . setLayer MidLayer . setDepth 30 $ color (withAlpha 0.05 col)
|
||||
-- $ circleSolid 20
|
||||
|
||||
drawCloudWith :: Float -> Float -> Color -> Cloud -> Picture
|
||||
drawCloudWith radMult fadet col cl = setLayer MidLayer
|
||||
|
||||
Reference in New Issue
Block a user