Mesa (master): util: Call tables should be const.
Henri Verbeet
hverbeet at kemper.freedesktop.org
Sun Jan 30 17:59:37 UTC 2011
Module: Mesa
Branch: master
Commit: f668b464c0c08bd929c259048082a9d3585481a2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f668b464c0c08bd929c259048082a9d3585481a2
Author: Henri Verbeet <hverbeet at gmail.com>
Date: Sun Jan 30 18:57:39 2011 +0100
util: Call tables should be const.
---
src/gallium/auxiliary/util/u_transfer.h | 2 +-
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 3412e13..5219151 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;
};
More information about the mesa-commit
mailing list