mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-23 02:08:27 +00:00
GSdx: escape/resume fix
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1314 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
07a4eb3491
commit
b792d0c50b
@ -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)
|
||||
{
|
||||
|
@ -105,9 +105,12 @@ bool GSWnd::Create(const string& title)
|
||||
wc.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
|
||||
wc.lpszClassName = "GSWnd";
|
||||
|
||||
if(!RegisterClass(&wc))
|
||||
if(!GetClassInfo(wc.hInstance, wc.lpszClassName, &wc))
|
||||
{
|
||||
return false;
|
||||
if(!RegisterClass(&wc))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
DWORD style = WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_OVERLAPPEDWINDOW | WS_BORDER;
|
||||
|
Loading…
Reference in New Issue
Block a user