diff options
author | Pauli Nieminen <[email protected]> | 2012-06-12 21:38:44 +0300 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-08-12 15:49:28 -0700 |
commit | c9a7dfcf92e6adb4b85338c2c8dbbfbaf39fbfe7 (patch) | |
tree | 4953463bf82e63f8db3c3772718397293dc01059 /src/mesa/drivers/dri/radeon | |
parent | c5af8891805fc4f590c1371c098cdbc704c44e00 (diff) |
mesa: Remove unnecessary parameters from AllocTextureImageBuffer
Size and format information is always stored in gl_texture_image
structure. That makes it preferable to remove duplicate information from
parameters to make interface easier to understand.
Signed-off-by: Pauli Nieminen <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_texture.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_texture.c b/src/mesa/drivers/dri/radeon/radeon_texture.c index 04f3e232b37..157cc096a31 100644 --- a/src/mesa/drivers/dri/radeon/radeon_texture.c +++ b/src/mesa/drivers/dri/radeon/radeon_texture.c @@ -103,9 +103,7 @@ radeonDeleteTextureImage(struct gl_context *ctx, struct gl_texture_image *img) static GLboolean radeonAllocTextureImageBuffer(struct gl_context *ctx, - struct gl_texture_image *timage, - gl_format format, GLsizei width, - GLsizei height, GLsizei depth) + struct gl_texture_image *timage) { radeonContextPtr rmesa = RADEON_CONTEXT(ctx); radeon_texture_image *image = get_radeon_texture_image(timage); |