diff options
author | Timothy Arceri <[email protected]> | 2019-10-28 21:30:51 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-10-28 11:24:39 +0000 |
commit | 1909bc526dd0e51d49252a1fc1c2aab0a8a51fb5 (patch) | |
tree | 40397bc26a41f9d465ca73cff2fe2f1184a261c1 /src/gallium/state_trackers/nine/basetexture9.c | |
parent | 7f106a2b5d0b27c1ce47a4b335c4cc8ae9cd460b (diff) |
util: remove LIST_IS_EMPTY macro
Just use the inlined function directly. The new function was introduced
in addcf410.
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/basetexture9.c')
-rw-r--r-- | src/gallium/state_trackers/nine/basetexture9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/basetexture9.c b/src/gallium/state_trackers/nine/basetexture9.c index 441a0817461..ba4deb4e3ad 100644 --- a/src/gallium/state_trackers/nine/basetexture9.c +++ b/src/gallium/state_trackers/nine/basetexture9.c @@ -122,7 +122,7 @@ NineBaseTexture9_SetLOD( struct NineBaseTexture9 *This, 0 : This->base.info.last_level; This->managed.lod = MIN2(LODNew, max_level); - if (This->managed.lod != old && This->bind_count && LIST_IS_EMPTY(&This->list)) + if (This->managed.lod != old && This->bind_count && list_is_empty(&This->list)) list_add(&This->list, &This->base.base.device->update_textures); return old; |