diff options
author | Michal Krol <[email protected]> | 2008-06-13 17:22:11 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2008-06-14 09:34:02 +0200 |
commit | 64d854ebf7074f4a86bb9d45bb2e1003f86a86a1 (patch) | |
tree | 25777853e4c1b2aa69e33ff9a2ae6b7528464a21 /src/gallium/auxiliary/util/u_blit.c | |
parent | 8b11fa4d4496032246b33182b9285c1181d41f1f (diff) |
util: Use pf_get_size().
Diffstat (limited to 'src/gallium/auxiliary/util/u_blit.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_blit.c b/src/gallium/auxiliary/util/u_blit.c index 999a3e50995..7b9415d49ae 100644 --- a/src/gallium/auxiliary/util/u_blit.c +++ b/src/gallium/auxiliary/util/u_blit.c @@ -281,7 +281,7 @@ util_blit_pixels(struct blit_state *ctx, texTemp.height[0] = srcH; texTemp.depth[0] = 1; texTemp.compressed = 0; - texTemp.cpp = pf_get_bits(src->format) / 8; + texTemp.cpp = pf_get_size(src->format); tex = screen->texture_create(screen, &texTemp); if (!tex) |