Update texture.cpp

initial texturecounter is 0 because texture buffer can't be 0.
if id is 0 always create a texture buffer.
This commit is contained in:
Guido Diego Quispe Robles
2024-01-18 22:27:03 -03:00
parent d773173ece
commit 5418e28b73
@@ -19,7 +19,7 @@
namespace Tyra {
u32 textureCounter = 0;
u32 textureCounter = 1;
std::vector<u32> deletedIDs;
Texture::Texture(TextureBuilderData* t_data) {