Hud is now transparent pink.
This commit is contained in:
parent
189f9f84fa
commit
4811b65a0a
@ -468,7 +468,9 @@ adjustWindow = do
|
|||||||
let hudtexid = state ^. gl.glHud.hudTexture
|
let hudtexid = state ^. gl.glHud.hudTexture
|
||||||
maptexid = state ^. gl.glMap.mapTexture
|
maptexid = state ^. gl.glMap.mapTexture
|
||||||
allocaBytes (fbWidth*fbHeight*4) $ \ptr -> do
|
allocaBytes (fbWidth*fbHeight*4) $ \ptr -> do
|
||||||
let imData = take (fbWidth*fbHeight*4) (cycle [255,0,0,64] :: [Int8])
|
--default to ugly pink to see if
|
||||||
|
--somethings go wrong.
|
||||||
|
let imData = take (fbWidth*fbHeight*4) (cycle [255,0,255,0] :: [Int8])
|
||||||
--putStrLn $ show imData
|
--putStrLn $ show imData
|
||||||
pokeArray ptr imData
|
pokeArray ptr imData
|
||||||
-- HUD
|
-- HUD
|
||||||
|
Loading…
Reference in New Issue
Block a user