Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #673 from Armada651/init_members
Initialize members
  • Loading branch information
neobrain committed Jul 26, 2014
2 parents 8e865f3 + ec402a0 commit f343f41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/VideoBackends/D3D/Render.cpp
Expand Up @@ -195,6 +195,7 @@ Renderer::Renderer(void *&window_handle)

s_LastAA = g_ActiveConfig.iMultisampleMode;
s_LastEFBScale = g_ActiveConfig.iEFBScale;
s_last_fullscreen_mode = g_ActiveConfig.bFullscreen;
CalculateTargetSize(s_backbuffer_width, s_backbuffer_height);

SetupDeviceObjects();
Expand Down
3 changes: 3 additions & 0 deletions Source/Core/VideoCommon/FPSCounter.cpp
Expand Up @@ -13,6 +13,9 @@
#define FPS_REFRESH_INTERVAL 1000

FPSCounter::FPSCounter()
: m_fps(0)
, m_counter(0)
, m_fps_last_counter(0)
{
m_update_time.Update();
m_render_time.Update();
Expand Down

0 comments on commit f343f41

Please sign in to comment.