diff options
author | Brian Paul <[email protected]> | 2009-08-13 10:29:15 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-08-13 12:50:57 -0600 |
commit | c10002361c3bc175ec12d667e762e51a2cc79b47 (patch) | |
tree | 0e5e8b4fac9f2542e9a7f5351673bd55b84f66df /src | |
parent | 8a9795e5c6ca353aa831148cd1c262fe1013af48 (diff) |
mesa: s/assert/ASSERT/ in _mesa_reference_texobj()
We want the no-op ASSERT for non-debug builds.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/texobj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 22657ed81b7..d09c4392506 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -334,7 +334,7 @@ _mesa_reference_texobj(struct gl_texture_object **ptr, GLboolean deleteFlag = GL_FALSE; struct gl_texture_object *oldTex = *ptr; - assert(valid_texture_object(oldTex)); + ASSERT(valid_texture_object(oldTex)); _glthread_LOCK_MUTEX(oldTex->Mutex); ASSERT(oldTex->RefCount > 0); @@ -357,7 +357,7 @@ _mesa_reference_texobj(struct gl_texture_object **ptr, if (tex) { /* reference new texture */ - assert(valid_texture_object(tex)); + ASSERT(valid_texture_object(tex)); _glthread_LOCK_MUTEX(tex->Mutex); if (tex->RefCount == 0) { /* this texture's being deleted (look just above) */ |