Fixed bug with unitialized texture pointer
This commit is contained in:
@@ -18,6 +18,6 @@ namespace OpenVulkano::Scene
|
||||
struct Material
|
||||
{
|
||||
MaterialProperties properties;
|
||||
Texture* texture;
|
||||
Texture* texture = nullptr;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user