summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state_derived.c
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-10-17 20:05:23 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-10-17 20:05:23 -0700
commitce9ae4a483e7c85a9046a87005232aa09de782aa (patch)
tree228c867d5cbe7258a32f4868837380cbc96ea8bc /src/gallium/drivers/r300/r300_state_derived.c
parent4a98d19d1b93651acd8f7f428151667e411ad718 (diff)
r300g: Fix u_hash_table rename.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state_derived.c')
-rw-r--r--src/gallium/drivers/r300/r300_state_derived.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gallium/drivers/r300/r300_state_derived.c b/src/gallium/drivers/r300/r300_state_derived.c
index 53027777d6..0210d97914 100644
--- a/src/gallium/drivers/r300/r300_state_derived.c
+++ b/src/gallium/drivers/r300/r300_state_derived.c
@@ -277,7 +277,7 @@ static void r300_update_vertex_format(struct r300_context* r300)
key->vs = r300->vs;
key->fs = r300->fs;
- value = u_hash_table_get(r300->shader_hash_table, (void*)key);
+ value = util_hash_table_get(r300->shader_hash_table, (void*)key);
if (value) {
debug_printf("r300: Hash table hit! vs: %p fs: %p\n", key->vs,
key->fs);
@@ -295,10 +295,8 @@ static void r300_update_vertex_format(struct r300_context* r300)
r300_vs_tab_routes(r300, vformat);
r300_vertex_psc(r300, vformat);
- if (u_hash_table_set(r300->shader_hash_table, (void*)key,
- (void*)vformat) != PIPE_OK) {
- debug_printf("r300: Hash table insertion error!\n");
- }
+ util_hash_table_set(r300->shader_hash_table,
+ (void*)key, (void*)vformat);
}
if (r300->vertex_info != vformat) {