blah
This commit is contained in:
parent
4bf5fa6b87
commit
6c2b46751b
3 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
{-# LANGUAGE TypeFamilies #-}
|
||||
{-# LANGUAGE AllowAmbiguousTypes #-}
|
||||
module Classes.Renderable where
|
||||
|
||||
class Renderable a where
|
||||
|
|
|
@ -6,7 +6,7 @@ import qualified Graphics.Rendering.OpenGL as GL
|
|||
|
||||
import Foreign
|
||||
|
||||
initRenderData = do
|
||||
initSpriteRenderData = do
|
||||
quadVAO <- GL.genObjectName
|
||||
quadVBO <- GL.genObjectName
|
||||
|
||||
|
|
|
@ -21,6 +21,7 @@ executable canvas
|
|||
main-is: Main.hs
|
||||
other-modules: Types
|
||||
Types.UserData
|
||||
Classes.Renderable
|
||||
Renderer
|
||||
-- other-extensions:
|
||||
build-depends: base ^>=4.12.0.0
|
||||
|
|
Loading…
Reference in a new issue