mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 12:04:17 +01:00
gsdx: by default new will throw std::bad_alloc
So catch/use it and don't bother with GSDXErrorOOM
This commit is contained in:
1 parent
c440c7c93a
commit
fbf7ccbdda
8 files changed
+15
-32
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user