summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nvfx/nvfx_surface.c
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-08-28 22:12:55 -0700
committerVinson Lee <vlee@vmware.com>2010-08-28 22:12:55 -0700
commit1fc396204b5676d7ebdbc20089d6442ab3dbcef4 (patch)
tree558c8e466cf49d957650063a053467abc3478320 /src/gallium/drivers/nvfx/nvfx_surface.c
parentb812ff8f9e5c9d292c0fb9518df1d35165542556 (diff)
nvfx: Remove util_is_pot in favor of util_is_power_of_two.
This is a follow up to commit 89b2897220acfacdc431f138377fbcec9f0ea812.
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_surface.c')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_surface.c b/src/gallium/drivers/nvfx/nvfx_surface.c
index f6cc985673..a5931b6e15 100644
--- a/src/gallium/drivers/nvfx/nvfx_surface.c
+++ b/src/gallium/drivers/nvfx/nvfx_surface.c
@@ -61,7 +61,7 @@ nvfx_region_set_format(struct nv04_region* rgn, enum pipe_format format)
default:
{
int shift;
- assert(util_is_pot(bits));
+ assert(util_is_power_of_two(bits));
shift = util_logbase2(bits) - 3;
assert(shift >= 2);
rgn->bpps = 2;