Comment out saving debug atlas

This commit is contained in:
bloeys
2022-08-02 03:32:02 +04:00
parent 9d7d283ca7
commit 054eaebe9a

View File

@ -217,9 +217,9 @@ func (p *nterm) Init() {
panic("Failed to create atlas from font file. Err: " + err.Error()) panic("Failed to create atlas from font file. Err: " + err.Error())
} }
if consts.Mode_Debug { // if consts.Mode_Debug {
glyphs.SaveImgToPNG(p.GlyphRend.Atlas.Img, "./debug-atlas.png") // glyphs.SaveImgToPNG(p.GlyphRend.Atlas.Img, "./debug-atlas.png")
} // }
//Load resources //Load resources
p.gridMesh, err = meshes.NewMesh("grid", "./res/models/quad.obj", 0) p.gridMesh, err = meshes.NewMesh("grid", "./res/models/quad.obj", 0)