diff options
author | Mark Mueller <[email protected]> | 2014-01-04 14:11:43 -0800 |
---|---|---|
committer | Mark Mueller <[email protected]> | 2014-01-27 14:28:46 -0800 |
commit | 71fe9437169cfdafda8814aa814bb85429fb6cfc (patch) | |
tree | 7eb5b04c681c7347de9dd5b0a69aa4f75343293d /src/mesa/drivers/dri/radeon/radeon_pixel_read.c | |
parent | bc0ed682757607172eca6b8a7031c81a73287524 (diff) |
mesa: change gl_format to mesa_format
s/\bgl_format\b/mesa_format/g. Use better name for Mesa Formats enum
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_pixel_read.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_pixel_read.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_pixel_read.c b/src/mesa/drivers/dri/radeon/radeon_pixel_read.c index 0aa00bd95b0..e9bfc0df265 100644 --- a/src/mesa/drivers/dri/radeon/radeon_pixel_read.c +++ b/src/mesa/drivers/dri/radeon/radeon_pixel_read.c @@ -38,7 +38,7 @@ #include "radeon_debug.h" #include "radeon_mipmap_tree.h" -static gl_format gl_format_and_type_to_mesa_format(GLenum format, GLenum type) +static mesa_format gl_format_and_type_to_mesa_format(GLenum format, GLenum type) { switch (format) { @@ -94,7 +94,7 @@ do_blit_readpixels(struct gl_context * ctx, { radeonContextPtr radeon = RADEON_CONTEXT(ctx); const struct radeon_renderbuffer *rrb = radeon_renderbuffer(ctx->ReadBuffer->_ColorReadBuffer); - const gl_format dst_format = gl_format_and_type_to_mesa_format(format, type); + const mesa_format dst_format = gl_format_and_type_to_mesa_format(format, type); unsigned dst_rowstride, dst_imagesize, aligned_rowstride, flip_y; struct radeon_bo *dst_buffer; GLint dst_x = 0, dst_y = 0; |