Fixed log output in culling, updated demo.

This commit is contained in:
Marvin Blum
2016-05-07 11:34:01 +02:00
parent 80e5cb20f8
commit 1d974566de
3 changed files with 16 additions and 7 deletions

View File

@@ -226,6 +226,7 @@ func initGoga(width, height int) {
ClearColorBuffer(true)
EnableAlphaBlending(true)
AddLoader(&PngLoader{gl.LINEAR, false})
AddLoader(&PlyLoader{gl.STATIC_DRAW})
AddSystem(NewSpriteRenderer(nil, nil, false))
AddSystem(NewCulling2D(0, 0, width, height))
}