mirror of
https://github.com/bloeys/nterm.git
synced 2025-12-29 06:28:20 +00:00
Comment out saving debug atlas
This commit is contained in:
6
main.go
6
main.go
@ -217,9 +217,9 @@ func (p *nterm) Init() {
|
||||
panic("Failed to create atlas from font file. Err: " + err.Error())
|
||||
}
|
||||
|
||||
if consts.Mode_Debug {
|
||||
glyphs.SaveImgToPNG(p.GlyphRend.Atlas.Img, "./debug-atlas.png")
|
||||
}
|
||||
// if consts.Mode_Debug {
|
||||
// glyphs.SaveImgToPNG(p.GlyphRend.Atlas.Img, "./debug-atlas.png")
|
||||
// }
|
||||
|
||||
//Load resources
|
||||
p.gridMesh, err = meshes.NewMesh("grid", "./res/models/quad.obj", 0)
|
||||
|
||||
Reference in New Issue
Block a user