mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] all: replace assert with DEBUG_ASSERT
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user