Use TraceLog instead of printf
This commit is contained in:
parent
5a62d0591a
commit
cca4bb4659
1 changed files with 1 additions and 2 deletions
|
@ -7,7 +7,6 @@ package rl
|
|||
import "C"
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"image/color"
|
||||
"runtime"
|
||||
"slices"
|
||||
|
@ -375,7 +374,7 @@ var goManagedMeshIDs []uint32 = make([]uint32, 0)
|
|||
func UploadMesh(mesh *Mesh, dynamic bool) {
|
||||
//check if mesh has already been uploaded to prevent duplication
|
||||
if mesh.VaoID != 0 {
|
||||
fmt.Printf("WARNING: VAO: [ID %d] Trying to re-load an already loaded mesh\n", mesh.VaoID)
|
||||
TraceLog(LogWarning, "VAO: [ID %d] Trying to re-load an already loaded mesh", mesh.VaoID)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue