summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915tex/intel_regions.c
diff options
context:
space:
mode:
authorBrian <brian@i915.localnet.net>2007-02-24 18:10:41 -0700
committerBrian <brian@i915.localnet.net>2007-02-24 18:10:41 -0700
commit5cd30a2b202d12240eac60825f9882838fd66779 (patch)
tree8bdd6ca40066e75b2da1d098d6c5fc925abe4480 /src/mesa/drivers/dri/i915tex/intel_regions.c
parent5e66843733c8123e73cadc1bc5c6111d64abaf25 (diff)
make src ptr const
Diffstat (limited to 'src/mesa/drivers/dri/i915tex/intel_regions.c')
-rw-r--r--src/mesa/drivers/dri/i915tex/intel_regions.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915tex/intel_regions.c b/src/mesa/drivers/dri/i915tex/intel_regions.c
index 1205b180ca..a114bdf896 100644
--- a/src/mesa/drivers/dri/i915tex/intel_regions.c
+++ b/src/mesa/drivers/dri/i915tex/intel_regions.c
@@ -217,7 +217,8 @@ _mesa_copy_rect(GLubyte * dst,
GLuint dst_y,
GLuint width,
GLuint height,
- GLubyte * src, GLuint src_pitch, GLuint src_x, GLuint src_y)
+ const GLubyte * src,
+ GLuint src_pitch, GLuint src_x, GLuint src_y)
{
GLuint i;
@@ -253,7 +254,7 @@ intel_region_data(intelScreenPrivate *intelScreen,
struct intel_region *dst,
GLuint dst_offset,
GLuint dstx, GLuint dsty,
- void *src, GLuint src_pitch,
+ const void *src, GLuint src_pitch,
GLuint srcx, GLuint srcy, GLuint width, GLuint height)
{
struct intel_context *intel = intelScreenContext(intelScreen);