This commit is contained in:
nek0 2020-02-06 23:18:05 +01:00
parent 4bf5fa6b87
commit 6c2b46751b
3 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,5 @@
{-# LANGUAGE TypeFamilies #-} {-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE AllowAmbiguousTypes #-}
module Classes.Renderable where module Classes.Renderable where
class Renderable a where class Renderable a where

View file

@ -6,7 +6,7 @@ import qualified Graphics.Rendering.OpenGL as GL
import Foreign import Foreign
initRenderData = do initSpriteRenderData = do
quadVAO <- GL.genObjectName quadVAO <- GL.genObjectName
quadVBO <- GL.genObjectName quadVBO <- GL.genObjectName

View file

@ -21,6 +21,7 @@ executable canvas
main-is: Main.hs main-is: Main.hs
other-modules: Types other-modules: Types
Types.UserData Types.UserData
Classes.Renderable
Renderer Renderer
-- other-extensions: -- other-extensions:
build-depends: base ^>=4.12.0.0 build-depends: base ^>=4.12.0.0