[client] all: replace assert with DEBUG_ASSERT

This commit is contained in:
Quantum
2021-08-13 19:51:36 -04:00
committed by Geoffrey McRae
parent 85a96d1e06
commit 579f998519
12 changed files with 48 additions and 56 deletions

View File

@@ -21,8 +21,6 @@
#include "texture.h"
#include "texture_buffer.h"
#include <assert.h>
#include "egl_dynprocs.h"
#include "egldebug.h"
@@ -101,7 +99,8 @@ static bool egl_texDMABUFUpdate(EGL_Texture * texture,
{
TextureBuffer * parent = UPCAST(TextureBuffer, texture);
TexDMABUF * this = UPCAST(TexDMABUF , parent);
assert(update->type == EGL_TEXTYPE_DMABUF);
DEBUG_ASSERT(update->type == EGL_TEXTYPE_DMABUF);
EGLImage image = EGL_NO_IMAGE;