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:
@@ -19,7 +19,7 @@
|
||||
|
||||
namespace Tyra {
|
||||
|
||||
u32 textureCounter = 0;
|
||||
u32 textureCounter = 1;
|
||||
std::vector<u32> deletedIDs;
|
||||
|
||||
Texture::Texture(TextureBuilderData* t_data) {
|
||||
|
||||
Reference in New Issue
Block a user