mirror of
https://github.com/libretro/pcsx2.git
synced 2025-01-10 19:50:14 +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);
|
m_dev->PSSetShader((*i).second, m_ps_cb);
|
||||||
|
|
||||||
ID3D10SamplerState* ss0=NULL, *ss1=NULL;
|
ID3D10SamplerState* ss0 = NULL;
|
||||||
|
ID3D10SamplerState* ss1 = NULL;
|
||||||
|
|
||||||
if(sel.tfx != 4)
|
if(sel.tfx != 4)
|
||||||
{
|
{
|
||||||
|
@ -105,10 +105,13 @@ bool GSWnd::Create(const string& title)
|
|||||||
wc.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
|
wc.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
|
||||||
wc.lpszClassName = "GSWnd";
|
wc.lpszClassName = "GSWnd";
|
||||||
|
|
||||||
|
if(!GetClassInfo(wc.hInstance, wc.lpszClassName, &wc))
|
||||||
|
{
|
||||||
if(!RegisterClass(&wc))
|
if(!RegisterClass(&wc))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
DWORD style = WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_OVERLAPPEDWINDOW | WS_BORDER;
|
DWORD style = WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_OVERLAPPEDWINDOW | WS_BORDER;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user