From a2c1effb487feeb1fcac3cad05bda1ffc92b8500 Mon Sep 17 00:00:00 2001 From: Stefan Dresselhaus Date: Fri, 3 Jan 2014 23:25:59 +0100 Subject: [PATCH] all gl-stuff is now Core3.1-compatible --- src/Map/Map.hs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Map/Map.hs b/src/Map/Map.hs index 29a8050..d613c25 100644 --- a/src/Map/Map.hs +++ b/src/Map/Map.hs @@ -15,7 +15,14 @@ import System.Random import Data.Array.IArray import Data.Text as T import Prelude as P -import Graphics.Rendering.OpenGL.GL +--import Graphics.Rendering.OpenGL.GL +import Graphics.Rendering.OpenGL.GL.BufferObjects +import Graphics.Rendering.OpenGL.GL.ObjectName +import Graphics.Rendering.OpenGL.GL.StateVar +import Graphics.Rendering.OpenGL.GL.VertexArrays +import Graphics.Rendering.OpenGL.GL.VertexSpec +import Graphics.Rendering.OpenGL.Raw.Core31 + import Foreign.Marshal.Array (withArray) import Foreign.Storable (sizeOf) import Foreign.Ptr (Ptr, nullPtr, plusPtr)