Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions src/Graphics/Rendering/OpenGL/GL/VertexArrayObjects.hs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
-- Portability : portable
--
-----------------------------------------------------------------------------

{-# LANGUAGE DeriveGeneric #-}
module Graphics.Rendering.OpenGL.GL.VertexArrayObjects (
VertexArrayObject,
VertexArrayObject (..),
bindVertexArrayObject
) where

Expand All @@ -23,11 +23,12 @@ import Graphics.Rendering.OpenGL.GL.DebugOutput
import Graphics.Rendering.OpenGL.GL.GLboolean
import Graphics.Rendering.OpenGL.GL.QueryUtils
import Graphics.GL

import GHC.Generics

-----------------------------------------------------------------------------

newtype VertexArrayObject = VertexArrayObject { vertexArrayID :: GLuint }
deriving( Eq, Ord, Show )
deriving( Eq, Ord, Show, Generic )

instance ObjectName VertexArrayObject where
isObjectName =
Expand Down