Merge pull request #673 from Armada651/init_members

Initialize members
This commit is contained in:
Tony Wasserka 2014-07-26 14:40:17 +02:00
commit f343f4103d
2 changed files with 4 additions and 0 deletions

View File

@ -195,6 +195,7 @@ Renderer::Renderer(void *&window_handle)
s_LastAA = g_ActiveConfig.iMultisampleMode; s_LastAA = g_ActiveConfig.iMultisampleMode;
s_LastEFBScale = g_ActiveConfig.iEFBScale; s_LastEFBScale = g_ActiveConfig.iEFBScale;
s_last_fullscreen_mode = g_ActiveConfig.bFullscreen;
CalculateTargetSize(s_backbuffer_width, s_backbuffer_height); CalculateTargetSize(s_backbuffer_width, s_backbuffer_height);
SetupDeviceObjects(); SetupDeviceObjects();

View File

@ -13,6 +13,9 @@
#define FPS_REFRESH_INTERVAL 1000 #define FPS_REFRESH_INTERVAL 1000
FPSCounter::FPSCounter() FPSCounter::FPSCounter()
: m_fps(0)
, m_counter(0)
, m_fps_last_counter(0)
{ {
m_update_time.Update(); m_update_time.Update();
m_render_time.Update(); m_render_time.Update();