mirror of https://github.com/PCSX2/pcsx2.git
GSdx: Deleted a little too much in the last rev. >_<
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2131 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
93798be614
commit
36946c97b4
|
@ -144,6 +144,16 @@ static INT32 _GSopen(void* dsp, char* title, int renderer)
|
|||
|
||||
try
|
||||
{
|
||||
if (s_renderer != renderer)
|
||||
{
|
||||
// Emulator has made a render change request, which requires a completely
|
||||
// new s_gs -- if the emu doesn't save/restore the GS state across this
|
||||
// GSopen call then they'll get corrupted graphics, but that's not my problem.
|
||||
|
||||
delete s_gs;
|
||||
s_gs = NULL;
|
||||
}
|
||||
|
||||
switch(renderer)
|
||||
{
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue