???
This commit is contained in:
parent
f4e4457df7
commit
ba956ea3d6
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ load = do
|
|||
GL.bindBuffer GL.ArrayBuffer $= Just verts
|
||||
withArray (loTriangles lobj) $ \ptr ->
|
||||
GL.bufferData GL.ArrayBuffer $=
|
||||
( fromIntegral $ length (loTriangles lobj) * 3 * sizeOf (0 :: Double)
|
||||
( fromIntegral $ length (loTriangles lobj) {-* 3-} * sizeOf (0 :: Double)
|
||||
, ptr
|
||||
, GL.StaticDraw
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue