Fixed some uninitialized variables

This commit is contained in:
Lynix
2018-06-09 13:59:35 +02:00
parent 843e5545b6
commit 0bea301a48
4 changed files with 6 additions and 2 deletions

View File

@@ -10,6 +10,7 @@
namespace Ndk
{
inline GraphicsComponent::GraphicsComponent() :
m_reflectiveMaterialCount(0),
m_scissorRect(-1, -1)
{
}
@@ -22,6 +23,7 @@ namespace Ndk
inline GraphicsComponent::GraphicsComponent(const GraphicsComponent& graphicsComponent) :
Component(graphicsComponent),
HandledObject(graphicsComponent),
m_reflectiveMaterialCount(0),
m_boundingVolume(graphicsComponent.m_boundingVolume),
m_transformMatrix(graphicsComponent.m_transformMatrix),
m_boundingVolumeUpdated(graphicsComponent.m_boundingVolumeUpdated),