Correct loading of tile buffer when loading game
This commit is contained in:
@@ -5,6 +5,7 @@ module Preload.Render (
|
||||
cleanUpRenderPreload,
|
||||
) where
|
||||
|
||||
import Control.Concurrent
|
||||
import Shader.AuxAddition
|
||||
import Shape.Data
|
||||
import GLHelp
|
||||
@@ -33,6 +34,8 @@ preloadRender = do
|
||||
theUBO <- mglCreate glCreateBuffers
|
||||
glNamedBufferData theUBO 64 nullPtr GL_STREAM_DRAW
|
||||
glBindBufferBase GL_UNIFORM_BUFFER 0 theUBO
|
||||
|
||||
getNumCapabilities >>= print
|
||||
|
||||
-- orthonormalUBO <- mglCreate glCreateBuffers
|
||||
-- withArray idMat $ \ptr ->
|
||||
|
||||
Reference in New Issue
Block a user