diff options
Diffstat (limited to 'engine/Components/TextureManager.go')
| -rw-r--r-- | engine/Components/TextureManager.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/Components/TextureManager.go b/engine/Components/TextureManager.go index 27449b1..eac1898 100644 --- a/engine/Components/TextureManager.go +++ b/engine/Components/TextureManager.go @@ -7,7 +7,6 @@ import ( rl "github.com/gen2brain/raylib-go/raylib" ) - type TextrueManager struct { Textures []*rl.Texture2D NameToId map[string]uint64 @@ -48,7 +47,7 @@ func (base *TextrueManager) GetTextureByName(textureName string) (*rl.Texture2D, func (base *TextrueManager) String() string { var outp, jsonErr = json.Marshal(base) if jsonErr != nil { - return fmt.Sprintf("Failed to parse settings: %s", jsonErr.Error()) + return fmt.Sprintf("Failed to parse texture manager: %s", jsonErr.Error()) } return string(outp) } |
