diff options
author | Roland Scheidegger <[email protected]> | 2009-11-30 20:29:18 +0100 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2009-11-30 20:29:18 +0100 |
commit | ac400ffce62be47fc77e8d10cabcd39b92b6c627 (patch) | |
tree | c99fc26392294b75bf88cb04a7853c63007424f0 /src/gallium/auxiliary/util/u_surface.c | |
parent | 7fa1bcc05a237365e5ea09512453f29a91c7a141 (diff) |
gallium: interface cleanups, remove nblocksx/y from pipe_texture and more
This patch removes nblocksx, nblocksy arrays from pipe_texture (can be
recalculated if needed). Furthermore, pipe_format_block struct is gone
completely (again, contains just derived state).
nblocksx, nblocksy, block are also removed from pipe_transfer, together with
the format enum (can be obtained from the texture associated with the transfer).
Diffstat (limited to 'src/gallium/auxiliary/util/u_surface.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_surface.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_surface.c b/src/gallium/auxiliary/util/u_surface.c index de8c266db83..f828908f0be 100644 --- a/src/gallium/auxiliary/util/u_surface.c +++ b/src/gallium/auxiliary/util/u_surface.c @@ -82,7 +82,6 @@ util_create_rgba_surface(struct pipe_screen *screen, templ.width0 = width; templ.height0 = height; templ.depth0 = 1; - pf_get_block(format, &templ.block); templ.tex_usage = usage; *textureOut = screen->texture_create(screen, &templ); |