summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
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/drivers/r300
parent30c9bca502350d9def06ecfd15d18606b8669bb3 (diff)
r300g: fix warnings by using the const qualifier
See also the libdrm commit af98ccf4dd5dcb1b904ec32b9bd1521e6bf7dda5.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r--src/gallium/drivers/r300/r300_winsys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_winsys.h b/src/gallium/drivers/r300/r300_winsys.h
index 60c4d18e3a2..1642981eaa8 100644
--- a/src/gallium/drivers/r300/r300_winsys.h
+++ b/src/gallium/drivers/r300/r300_winsys.h
@@ -121,7 +121,7 @@ struct r300_winsys_screen {
/* Write a table of dwords to the command buffer. */
void (*write_cs_table)(struct r300_winsys_screen* winsys,
- void *dwords, unsigned count);
+ const void *dwords, unsigned count);
/* Write a relocated dword to the command buffer. */
void (*write_cs_reloc)(struct r300_winsys_screen *winsys,