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

This commit is contained in:
Henrik Rydgård 2020-08-16 00:38:55 +02:00
parent c5147c01a0
commit 5d64fc5ff1
49 changed files with 142 additions and 180 deletions

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;