prepared overview-texture

This commit is contained in:
Stefan Dresselhaus
2014-04-22 16:25:29 +02:00
parent 1bbf900ec4
commit a1389ba524
4 changed files with 80 additions and 1 deletions

View File

@ -84,6 +84,7 @@ main =
--generate map vertices
(mapBuffer, vert) <- getMapBufferObject
(mapprog, ci, ni, vi, pri, vii, mi, nmi, tli, tlo, mapTex) <- initMapShader
overTex <- GL.genObjectName
print window'
eventQueue <- newTQueueIO :: IO (TQueue Event)
putStrLn "foo"
@ -123,6 +124,7 @@ main =
, _mapVert = vert
, _mapProgram = mapprog
, _mapTexture = mapTex
, _overviewTexture = overTex
}
env = Env
{ _eventsChan = eventQueue