don't destroy dummy image texture if clearBackgroundImage has been called without setBackgroundImage having been called first
This commit is contained in:
@@ -211,6 +211,7 @@ namespace thermion_filament
|
||||
uint32_t _imageWidth = 0;
|
||||
mat4f _imageScale;
|
||||
Texture *_imageTexture = nullptr;
|
||||
Texture *_dummyImageTexture = nullptr;
|
||||
utils::Entity _imageEntity;
|
||||
VertexBuffer *_imageVb = nullptr;
|
||||
IndexBuffer *_imageIb = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user