aboutsummaryrefslogtreecommitdiffstats
path: root/src/Vivant/Texture.hs
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-12-29 01:22:59 +0000
committerYann Herklotz <git@yannherklotz.com>2020-12-29 01:22:59 +0000
commite022eaf710c8c26632cfdfc11f60b5bed85643f5 (patch)
tree3406c4b7f2ac5d11bf896c7e778d46e461e6af70 /src/Vivant/Texture.hs
parent41bac9f6b1b87b7175b7f77e01840800f5b20b15 (diff)
downloadVivant-e022eaf710c8c26632cfdfc11f60b5bed85643f5.tar.gz
Vivant-e022eaf710c8c26632cfdfc11f60b5bed85643f5.zip
Format with stylish-haskell
Diffstat (limited to 'src/Vivant/Texture.hs')
-rw-r--r--src/Vivant/Texture.hs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Vivant/Texture.hs b/src/Vivant/Texture.hs
index 7328c87..dceba80 100644
--- a/src/Vivant/Texture.hs
+++ b/src/Vivant/Texture.hs
@@ -1,12 +1,12 @@
module Vivant.Texture (initTexture, loadTexture) where
-import Codec.Picture.Jpg (decodeJpeg)
-import Codec.Picture.Types (convertImage)
+import Codec.Picture.Jpg (decodeJpeg)
+import Codec.Picture.Types (convertImage)
+import qualified Data.ByteString as BS
+import qualified Data.Vector.Storable as V
import qualified Graphics.Rendering.OpenGL as GL
-import qualified Data.ByteString as BS
-import qualified Data.Vector.Storable as V
-import Paths_vivant (getDataDir)
+import Paths_vivant (getDataDir)
initTexture = do
GL.textureWrapMode GL.Texture2D GL.S $= (GL.Mirrored, GL.Repeat)