d3d1x: fix progs linking if not all EGL platforms are enabled
[mesa.git] / src / glsl / link_functions.cpp
index dfda05fcbe508fac69e773e78923bfc9e7421ff1..78c8b48cf179c4060caa13c2a3cc91644eeaccb5 100644 (file)
@@ -29,7 +29,7 @@ extern "C" {
 #include <talloc.h>
 }
 
-#include "main/mtypes.h"
+#include "main/core.h"
 #include "glsl_symbol_table.h"
 #include "glsl_parser_extras.h"
 #include "ir.h"
@@ -111,7 +111,7 @@ public:
         f = new(linked) ir_function(name);
 
       ir_function_signature *linked_sig =
-        f->matching_signature(&callee->parameters);
+        f->exact_matching_signature(&callee->parameters);
       if (linked_sig == NULL) {
         linked_sig = new(linked) ir_function_signature(callee->return_type);
         f->add_signature(linked_sig);