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:
Jake.Stine 2009-11-05 00:29:39 +00:00
parent 93798be614
commit 36946c97b4
1 changed files with 10 additions and 0 deletions

View File

@ -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: