diff options
author | Michal Krol <[email protected]> | 2009-12-17 23:41:57 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-12-17 23:41:57 +0100 |
commit | b1ed72ebe2599ec178f51d86fd42f26486b9a19b (patch) | |
tree | b49428bb48d81bf1396ef14ee8a0a462f89d2d8e /src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c | |
parent | ec5577a83da18890a4f334af2241aca41b6ed31b (diff) |
Move the remaining format pf_get_* functions to u_format.h.
Previously they depended on format blocks, but after removing those
they started depending on format encoding.
Diffstat (limited to 'src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c')
-rw-r--r-- | src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c b/src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c index 71223650279..7d076be3a31 100644 --- a/src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c +++ b/src/gallium/winsys/gdi/gdi_llvmpipe_winsys.c @@ -137,8 +137,8 @@ gdi_llvmpipe_displaytarget_create(struct llvmpipe_winsys *winsys, gdt->width = width; gdt->height = height; - bpp = util_format_get_bits(format); - cpp = util_format_get_size(format); + bpp = util_format_get_blocksizebits(format); + cpp = util_format_get_blocksize(format); gdt->stride = align(width * cpp, alignment); gdt->size = gdt->stride * height; |