GSdx: minor fixes to previous commit, rundll32 window not showing and a compiler warning

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5668 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gabest11@gmail.com 2013-06-16 02:48:16 +00:00
parent 328cc55c60
commit 1da166a1af
2 changed files with 3 additions and 1 deletions

View File

@ -232,7 +232,7 @@ public:
fprintf(stderr, "Stencil %s. Both pass op %s\n", NameOfParam(m_stencil_func), NameOfParam(m_stencil_spass_dpass_op)); fprintf(stderr, "Stencil %s. Both pass op %s\n", NameOfParam(m_stencil_func), NameOfParam(m_stencil_spass_dpass_op));
} }
bool IsMaskEnable() { return m_depth_mask; } bool IsMaskEnable() { return m_depth_mask != GL_FALSE; }
}; };
class GSDeviceOGL : public GSDevice class GSDeviceOGL : public GSDevice

View File

@ -83,6 +83,8 @@ bool GSWndDX::Create(const string& title, int w, int h)
{ {
if(m_hWnd) return false; if(m_hWnd) return false;
m_managed = true;
WNDCLASS wc; WNDCLASS wc;
memset(&wc, 0, sizeof(wc)); memset(&wc, 0, sizeof(wc));