summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-04-26 20:16:44 +0200
committerMarek Olšák <[email protected]>2010-04-26 20:31:17 +0200
commit7d164fc3594177e94df92cd1df6c8f233bd3a1ea (patch)
tree52048fcff29a28d8d82a03e0b9e30c3afbac8897 /src/gallium/winsys
parent30c9bca502350d9def06ecfd15d18606b8669bb3 (diff)
r300g: fix warnings by using the const qualifier
See also the libdrm commit af98ccf4dd5dcb1b904ec32b9bd1521e6bf7dda5.
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_r300.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_r300.c b/src/gallium/winsys/radeon/drm/radeon_r300.c
index cab41dba3d5..80923de9373 100644
--- a/src/gallium/winsys/radeon/drm/radeon_r300.c
+++ b/src/gallium/winsys/radeon/drm/radeon_r300.c
@@ -202,7 +202,7 @@ static void radeon_write_cs_dword(struct r300_winsys_screen *rws,
}
static void radeon_write_cs_table(struct r300_winsys_screen *rws,
- void *table, unsigned count)
+ const void *table, unsigned count)
{
struct radeon_libdrm_winsys *ws = radeon_winsys_screen(rws);
radeon_cs_write_table(ws->cs, table, count);