gsdx: by default new will throw std::bad_alloc

So catch/use it and don't bother with GSDXErrorOOM
This commit is contained in:
Gregory Hainaut committed 2016-10-13 20:44:59 +02:00
1 parent c440c7c93a
commit fbf7ccbdda
8 files changed
+15 -32

No files matched your search

+1 -1
View File
@@ -1590,7 +1590,7 @@ void GSState::FlushPrim()
Draw();
} catch (GSDXRecoverableError&) {
// could be an unsupported draw call
} catch (GSDXErrorOOM&) {
} catch (const std::bad_alloc& e) {
// Texture Out Of Memory
PurgePool();
fprintf(stderr, "GSDX OUT OF MEMORY\n");