gloss-game icon indicating copy to clipboard operation
gloss-game copied to clipboard

Failure to build against gloss 1.13

Open deepfire opened this issue 5 years ago • 0 comments

Recent gloss versions raise the following problem:

Building library for gloss-game-0.3.3.0..
[1 of 1] Compiling Graphics.Gloss.Game ( Graphics/Gloss/Game.hs, dist/build/Graphics/Gloss/Game.o )

Graphics/Gloss/Game.hs14: error:
    • The constructor ‘G.Bitmap’ should have 1 argument, but has been given 4
    • In the pattern: G.Bitmap w h _ _
      In an equation for ‘boundingBox’:
          boundingBox (G.Bitmap w h _ _)
            = ((0, 0), (fromIntegral w, fromIntegral h))
    |
100 | boundingBox (G.Bitmap w h _ _)         = ((0, 0), (fromIntegral w, fromIntegral h))
    |              ^^^^^^^^^^^^^^^^

deepfire avatar Oct 10 '20 22:10 deepfire