packages feed

luminance-samples 0.8 → 0.9

raw patch · 4 files changed

+20/−10 lines, 4 filesdep ~luminance

Dependency ranges changed: luminance

Files

CHANGELOG.md view
@@ -1,3 +1,13 @@+# 0.9++- Updated luminance dependency to include the latest version and break compatibility with older+  versions.++# 0.8++- Updated luminance dependency to include the latest version and break compatibility with older+  versions.+ # 0.7  - Changed the Texture to use HDR formats.
luminance-samples.cabal view
@@ -1,5 +1,5 @@ name:                luminance-samples-version:             0.8+version:             0.9 synopsis:            Luminance samples description:         Luminance samples used as tutorial help homepage:            https://github.com/phaazon/luminance-samples@@ -31,7 +31,7 @@                      , FlexibleContexts    build-depends:       base         >= 4.8 && < 4.9-                     , luminance    >= 0.8 && < 0.9+                     , luminance    >= 0.9 && < 0.10                      , GLFW-b       >= 1.4 && < 1.5                      , mtl          >= 2.2 && < 2.3                      , resourcet    >= 1.1 && < 1.2@@ -53,7 +53,7 @@                      , ScopedTypeVariables    build-depends:       base         >= 4.8 && < 4.9-                     , luminance    >= 0.8 && < 0.9+                     , luminance    >= 0.9 && < 0.10                      , GLFW-b       >= 1.4 && < 1.5                      , mtl          >= 2.2 && < 2.3                      , resourcet    >= 1.1 && < 1.2@@ -76,7 +76,7 @@    build-depends:       base          >= 4.8 && < 4.9                      , contravariant >= 1.3 && < 1.4-                     , luminance     >= 0.8 && < 0.9+                     , luminance     >= 0.9 && < 0.10                      , GLFW-b        >= 1.4 && < 1.5                      , mtl           >= 2.2 && < 2.3                      , resourcet     >= 1.1 && < 1.2@@ -99,7 +99,7 @@    build-depends:       base          >= 4.8 && < 4.9                      , contravariant >= 1.3 && < 1.4-                     , luminance     >= 0.8 && < 0.9+                     , luminance     >= 0.9 && < 0.10                      , GLFW-b        >= 1.4 && < 1.5                      , mtl           >= 2.2 && < 2.3                      , resourcet     >= 1.1 && < 1.2@@ -123,7 +123,7 @@   build-depends:       base          >= 4.8  && < 4.9                      , contravariant >= 1.3  && < 1.4                      , JuicyPixels   >= 3.2  && < 3.4-                     , luminance     >= 0.8  && < 0.9+                     , luminance     >= 0.9  && < 0.10                      , GLFW-b        >= 1.4  && < 1.5                      , mtl           >= 2.2  && < 2.3                      , resourcet     >= 1.1  && < 1.2@@ -146,7 +146,7 @@    build-depends:       base          >= 4.8  && < 4.9                      , contravariant >= 1.3  && < 1.4-                     , luminance     >= 0.8  && < 0.9+                     , luminance     >= 0.9  && < 0.10                      , GLFW-b        >= 1.4  && < 1.5                      , mtl           >= 2.2  && < 2.3                      , resourcet     >= 1.1  && < 1.2@@ -171,7 +171,7 @@   build-depends:       base          >= 4.8  && < 4.9                      , contravariant >= 1.3  && < 1.4                      , linear        >= 1.20 && < 1.21-                     , luminance     >= 0.8  && < 0.9+                     , luminance     >= 0.9  && < 0.10                      , GLFW-b        >= 1.4  && < 1.5                      , mtl           >= 2.2  && < 2.3                      , resourcet     >= 1.1  && < 1.2
src/Common.hs view
@@ -50,7 +50,7 @@   _ <- init   windowHint (WindowHint'Resizable False)   windowHint (WindowHint'ContextVersionMajor 3)-  windowHint (WindowHint'ContextVersionMinor 2)+  windowHint (WindowHint'ContextVersionMinor 3)   windowHint (WindowHint'OpenGLProfile OpenGLProfile'Core)   window <- createWindow windowW windowH windowTitle Nothing Nothing   escapeKey <- newIORef False
src/UBO.hs view
@@ -11,7 +11,7 @@   fs <- createStage FragmentShader fsSource   colorBuffer :: Region RW (UB Color) <- createBuffer (newRegion 3)   writeWhole colorBuffer (map UB colors)-  (program,colorsU) <- createProgram [vs,fs] $ \uni -> uni (UniformBlockName"Colors")+  (program,colorsU) <- createProgram [vs,fs] $ \uni -> uni (UniformBlockName "Colors")   loop $ do     void . runCmd . draw $ framebufferBatch defaultFramebuffer [anySPBatch $ shaderProgramBatch program colorsU colorBuffer [stdRenderCmd_ triangle]]     endFrame window