Don't allocate when drawing by reusing glyp rend buffer

This commit is contained in:
bloeys
2022-07-04 01:10:37 +04:00
parent edd8d5b71b
commit 3d7d09744d
4 changed files with 76 additions and 22 deletions

2
go.mod
View File

@ -4,7 +4,7 @@ go 1.18
require (
github.com/bloeys/gglm v0.41.10
github.com/bloeys/nmage v0.12.12
github.com/bloeys/nmage v0.12.13
github.com/go-gl/gl v0.0.0-20211025173605-bda47ffaa784
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0
github.com/veandco/go-sdl2 v0.4.10