Switch to PPSSPP's assert functions (don't use the system's)

This commit is contained in:
Henrik Rydgård committed 2020-08-16 10:01:10 +02:00
1 parent c5147c01a0
commit 5d64fc5ff1
49 files changed
+142 -180

No files matched your search

+2 -3
View File
@@ -17,7 +17,6 @@
#include <algorithm>
#include <sstream>
#include <cassert>
#include <cmath>
#include "ext/native/thin3d/thin3d.h"
@@ -1025,8 +1024,8 @@ void FramebufferManagerCommon::DecimateFBOs() {
}
void FramebufferManagerCommon::ResizeFramebufFBO(VirtualFramebuffer *vfb, int w, int h, bool force, bool skipCopy) {
assert(w > 0);
assert(h > 0);
_dbg_assert_(w > 0);
_dbg_assert_(h > 0);
VirtualFramebuffer old = *vfb;
int oldWidth = vfb->bufferWidth;