aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_linear.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-02-11 14:11:48 -0700
committerBrian Paul <[email protected]>2009-02-11 14:11:48 -0700
commit6b06a6b929aa742f92653728254255f1867d6210 (patch)
tree63347ff6fe38757e048d50735f0b73e35de6d0ef /src/gallium/auxiliary/util/u_linear.c
parent81374d1ebed16aa3eed336295e80be0dfebfad75 (diff)
gallium: const-correctness for u_linear.c functions
Diffstat (limited to 'src/gallium/auxiliary/util/u_linear.c')
-rw-r--r--src/gallium/auxiliary/util/u_linear.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/util/u_linear.c b/src/gallium/auxiliary/util/u_linear.c
index ba6204d6f77..e999cefe748 100644
--- a/src/gallium/auxiliary/util/u_linear.c
+++ b/src/gallium/auxiliary/util/u_linear.c
@@ -3,7 +3,7 @@
#include "u_linear.h"
void
-pipe_linear_to_tile(size_t src_stride, void *src_ptr,
+pipe_linear_to_tile(size_t src_stride, const void *src_ptr,
struct pipe_tile_info *t, void *dst_ptr)
{
int x, y, z;
@@ -27,7 +27,7 @@ pipe_linear_to_tile(size_t src_stride, void *src_ptr,
}
}
-void pipe_linear_from_tile(struct pipe_tile_info *t, void *src_ptr,
+void pipe_linear_from_tile(struct pipe_tile_info *t, const void *src_ptr,
size_t dst_stride, void *dst_ptr)
{
int x, y, z;
@@ -51,7 +51,7 @@ void pipe_linear_from_tile(struct pipe_tile_info *t, void *src_ptr,
void
pipe_linear_fill_info(struct pipe_tile_info *t,
- struct pipe_format_block *block,
+ const struct pipe_format_block *block,
unsigned tile_width, unsigned tile_height,
unsigned tiles_x, unsigned tiles_y)
{