glsl: fix the type of ir_constant_data::u16
[mesa.git] / src / compiler / glsl / opt_function_inlining.cpp
index 52f57da936df0147aa079c41fb7dc6b48745dbfa..590bd707bee22de592bee6cf8ccc6d899abd204f 100644 (file)
@@ -152,7 +152,7 @@ ir_call::generate_inline(ir_instruction *next_ir)
    int i;
    struct hash_table *ht;
 
-   ht = _mesa_hash_table_create(NULL, _mesa_hash_pointer, _mesa_key_pointer_equal);
+   ht = _mesa_pointer_hash_table_create(NULL);
 
    num_parameters = this->callee->parameters.length();
    parameters = new ir_variable *[num_parameters];