Remove dependency on OpenGL
This commit is contained in:
+1
-1
@@ -20,7 +20,6 @@ import Dodge.Render
|
||||
import Dodge.SoundLogic.LoadSound
|
||||
import Dodge.TestString
|
||||
import Dodge.Update
|
||||
import Graphics.Rendering.OpenGL hiding (color, rotate, scale, translate)
|
||||
import qualified IntMapHelp as IM
|
||||
import Loop
|
||||
import Music
|
||||
@@ -30,6 +29,7 @@ import Preload.Render
|
||||
--import Render
|
||||
import qualified SDL
|
||||
import qualified SDL.Mixer as Mix
|
||||
import SDL (($=))
|
||||
import Sound
|
||||
import System.Directory
|
||||
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ dependencies:
|
||||
#- heap
|
||||
- sdl2
|
||||
- sdl2-mixer
|
||||
- OpenGL
|
||||
#- OpenGL
|
||||
- OpenGLRaw
|
||||
- text
|
||||
#- raw-strings-qq
|
||||
|
||||
+1
-2
@@ -30,8 +30,7 @@ module Shader.Data
|
||||
, frag'
|
||||
) where
|
||||
import Data.Vector (Vector)
|
||||
import Graphics.Rendering.OpenGL
|
||||
import Graphics.GL.Core43
|
||||
import Graphics.GL.Core45
|
||||
import Foreign
|
||||
import Control.Lens
|
||||
{- | Datatype containing the necessary information for a single shader. -}
|
||||
|
||||
@@ -4,7 +4,7 @@ module Shader.Parameters
|
||||
, numSubElements
|
||||
, glushortSize
|
||||
) where
|
||||
import Graphics.Rendering.OpenGL hiding (Point,translate,scale,imageHeight)
|
||||
import Graphics.GL.Core45
|
||||
import Foreign
|
||||
|
||||
floatSize :: Int
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ import Shape.Data
|
||||
import Geometry.Data
|
||||
--import ShapePicture
|
||||
|
||||
import Graphics.Rendering.OpenGL hiding (color,scale,translate,rotate)
|
||||
import Graphics.GL.Core45
|
||||
import Foreign
|
||||
import qualified Data.Vector as V
|
||||
import qualified Data.Vector.Unboxed as UV
|
||||
|
||||
Reference in New Issue
Block a user