summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_texture.c
diff options
context:
space:
mode:
authorHenri Verbeet <hverbeet@gmail.com>2011-02-03 21:10:50 +0100
committerHenri Verbeet <hverbeet@gmail.com>2011-02-03 21:13:12 +0100
commitd17d03a8dccb4bad25211693320459420409d997 (patch)
tree022139b722325669e11ff88d7f6fd2911bea4d58 /src/gallium/drivers/r300/r300_texture.c
parent126e98966d5396ed251a34e3c39f11b36351a579 (diff)
r300g: Make the buffer and texture vbtls static const.
Diffstat (limited to 'src/gallium/drivers/r300/r300_texture.c')
-rw-r--r--src/gallium/drivers/r300/r300_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c
index ec8608f74b..7dd2fe326f 100644
--- a/src/gallium/drivers/r300/r300_texture.c
+++ b/src/gallium/drivers/r300/r300_texture.c
@@ -763,7 +763,7 @@ static boolean r300_texture_get_handle(struct pipe_screen* screen,
tex->desc.stride_in_bytes[0], whandle);
}
-struct u_resource_vtbl r300_texture_vtbl =
+static const struct u_resource_vtbl r300_texture_vtbl =
{
r300_texture_get_handle, /* get_handle */
r300_texture_destroy, /* resource_destroy */