Remove dependency on OpenGL
This commit is contained in:
+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