GSdx: escape/resume fix

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1314 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gabest11 2009-06-04 00:15:05 +00:00
parent 07a4eb3491
commit b792d0c50b
2 changed files with 7 additions and 3 deletions

View File

@ -263,7 +263,8 @@ void GSTextureFX10::UpdatePS(PSSelector sel, const PSConstantBuffer* cb, PSSampl
m_dev->PSSetShader((*i).second, m_ps_cb);
ID3D10SamplerState* ss0=NULL, *ss1=NULL;
ID3D10SamplerState* ss0 = NULL;
ID3D10SamplerState* ss1 = NULL;
if(sel.tfx != 4)
{

View File

@ -105,10 +105,13 @@ bool GSWnd::Create(const string& title)
wc.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
wc.lpszClassName = "GSWnd";
if(!GetClassInfo(wc.hInstance, wc.lpszClassName, &wc))
{
if(!RegisterClass(&wc))
{
return false;
}
}
DWORD style = WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_OVERLAPPEDWINDOW | WS_BORDER;