packages feed

gloss-rendering 1.10.2.1 → 1.10.3.1

raw patch · 3 files changed

+3/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Graphics/Gloss/Internals/Data/Picture.hs view
@@ -182,7 +182,7 @@         BSU.unsafeUseAsCString bs          $ \cstr -> copyBytes ptr (castPtr cstr) len -        let bdata = BitmapData len (BitmapFormat BottomToTop PxRGBA) fptr+        let bdata = BitmapData len (BitmapFormat BottomToTop PxABGR) fptr          return $ Bitmap width height bdata True {-# NOINLINE bitmapOfBMP #-}
Graphics/Gloss/Internals/Rendering/Color.hs view
@@ -7,7 +7,7 @@   -- | Convert one of our Colors to OpenGL's representation.-glColor4OfColor :: Fractional a => Color -> GL.Color4 a+glColor4OfColor :: Color -> GL.Color4 a glColor4OfColor color  = case color of         RGBA r g b a
gloss-rendering.cabal view
@@ -1,5 +1,5 @@ name:           gloss-rendering-version:        1.10.2.1+version:        1.10.3.1 license:        MIT license-file:   LICENSE author:         Elise Huard