packages feed

GPipe 1.0.0 → 1.0.1

raw patch · 2 files changed

+4/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

GPipe.cabal view
@@ -1,5 +1,5 @@ name: GPipe-version: 1.0.0+version: 1.0.1 cabal-version: >= 1.2.3 build-type: Simple license: BSD3@@ -9,8 +9,8 @@ build-depends: Boolean -any, GLUT >=2.2.2.0, OpenGL >=2.4.0.1,                Vec -any, base == 4.1.0.0, containers -any, mtl -any stability: Experimental-homepage:-package-url:+homepage: http://www.haskell.org/haskellwiki/GPipe+package-url: http://hackage.haskell.org/package/GPipe bug-reports: mailto:tobias_bexelius@hotmail.com synopsis: A functional graphics API for programmable GPUs description: GPipe models the entire graphics pipeline in a purely functional, immutable and typesafe way. It is built on top of the programmable pipeline (i.e. non-fixed function) of
src/Resources.hs view
@@ -241,7 +241,7 @@             bindWinMappedTexture (target t) w tex t
             textureFilter (target t) $= toGLFilter f
             mapM_ (\c -> textureWrapMode (target t) c $= toGLWrap e) [S, T, R, Q]
-            return $ TexCoord1 (i::GLuint)
+            return $ TexCoord1 (fromIntegral i::GLint)
         target Sampler3D = Texture3D
         target Sampler2D = Texture2D
         target Sampler1D = Texture1D