mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-11 18:08:08 +00:00
[client] all: replace assert with DEBUG_ASSERT
This commit is contained in:
@@ -20,8 +20,6 @@
|
||||
|
||||
#include "texture.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#include "texture_buffer.h"
|
||||
#include "common/debug.h"
|
||||
#include "common/KVMFR.h"
|
||||
@@ -84,7 +82,7 @@ static bool egl_texFBUpdate(EGL_Texture * texture, const EGL_TexUpdate * update)
|
||||
TextureBuffer * parent = UPCAST(TextureBuffer, texture);
|
||||
TexFB * this = UPCAST(TexFB , parent );
|
||||
|
||||
assert(update->type == EGL_TEXTYPE_FRAMEBUFFER);
|
||||
DEBUG_ASSERT(update->type == EGL_TEXTYPE_FRAMEBUFFER);
|
||||
|
||||
LG_LOCK(parent->copyLock);
|
||||
|
||||
|
Reference in New Issue
Block a user