Lines Matching refs:oldTex
347 struct gl_texture_object *oldTex = *ptr;
349 ASSERT(valid_texture_object(oldTex));
352 _glthread_LOCK_MUTEX(oldTex->Mutex);
353 ASSERT(oldTex->RefCount > 0);
354 oldTex->RefCount--;
356 deleteFlag = (oldTex->RefCount == 0);
357 _glthread_UNLOCK_MUTEX(oldTex->Mutex);
362 ctx->Driver.DeleteTexture(ctx, oldTex);