summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenri Verbeet <hverbeet@gmail.com>2011-01-30 18:57:39 +0100
committerHenri Verbeet <hverbeet@gmail.com>2011-01-30 18:59:13 +0100
commitf668b464c0c08bd929c259048082a9d3585481a2 (patch)
tree93eda4a05573ab006426c44f8e03c13af5cd3cc4
parent38b54158b68479e1f97c8452ba0d67f50dce7582 (diff)
util: Call tables should be const.
-rw-r--r--src/gallium/auxiliary/util/u_transfer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_transfer.h b/src/gallium/auxiliary/util/u_transfer.h
index 3412e13c3c..52191512ac 100644
--- a/src/gallium/auxiliary/util/u_transfer.h
+++ b/src/gallium/auxiliary/util/u_transfer.h
@@ -93,7 +93,7 @@ struct u_resource_vtbl {
struct u_resource {
struct pipe_resource b;
- struct u_resource_vtbl *vtbl;
+ const struct u_resource_vtbl *vtbl;
};