diff --git a/plugins/GSdx/GSDeviceOGL.h b/plugins/GSdx/GSDeviceOGL.h index 59dca31593..8c29ba4af1 100644 --- a/plugins/GSdx/GSDeviceOGL.h +++ b/plugins/GSdx/GSDeviceOGL.h @@ -232,7 +232,7 @@ public: 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 diff --git a/plugins/GSdx/GSWndDX.cpp b/plugins/GSdx/GSWndDX.cpp index a748394531..fe4de27128 100644 --- a/plugins/GSdx/GSWndDX.cpp +++ b/plugins/GSdx/GSWndDX.cpp @@ -83,6 +83,8 @@ bool GSWndDX::Create(const string& title, int w, int h) { if(m_hWnd) return false; + m_managed = true; + WNDCLASS wc; memset(&wc, 0, sizeof(wc));