Fix c++11 feature

This commit is contained in:
Daniel Butum
2014-07-04 00:34:37 +03:00
parent efac42f746
commit e2418aea13
2 changed files with 2 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ const int MIN_SUPPORTED_WIDTH = 800;
* So we create a dummy device here to begin with, which is then later (once
* the real device exists) changed in initDevice().
*/
IrrDriver::IrrDriver()
IrrDriver::IrrDriver() : object_count{}
{
m_resolution_changing = RES_CHANGE_NONE;
m_phase = SOLID_NORMAL_AND_DEPTH_PASS;

View File

@@ -338,7 +338,7 @@ private:
bool m_distortviz;
/** Performance stats */
unsigned m_last_light_bucket_distance;
unsigned object_count[PASS_COUNT] = {};
unsigned object_count[PASS_COUNT];
u32 m_renderpass;
u32 m_lensflare_query;
bool m_query_issued;