aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/ir_function_detect_recursion.cpp
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-08-04 16:44:35 +0200
committermarha <marha@users.sourceforge.net>2011-08-04 16:44:35 +0200
commit9b009a8bdb31d08e3d07f68416373b9aa6f85724 (patch)
tree28ed2e4da04e4b93dce92a72ad2abb2e86b505da /mesalib/src/glsl/ir_function_detect_recursion.cpp
parentf87ad0cdc41af88f134475ab50b0d604004d9cdc (diff)
downloadvcxsrv-9b009a8bdb31d08e3d07f68416373b9aa6f85724.tar.gz
vcxsrv-9b009a8bdb31d08e3d07f68416373b9aa6f85724.tar.bz2
vcxsrv-9b009a8bdb31d08e3d07f68416373b9aa6f85724.zip
randrproto mesa xserver git update 4 aug 2011
Diffstat (limited to 'mesalib/src/glsl/ir_function_detect_recursion.cpp')
-rw-r--r--mesalib/src/glsl/ir_function_detect_recursion.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/mesalib/src/glsl/ir_function_detect_recursion.cpp b/mesalib/src/glsl/ir_function_detect_recursion.cpp
index 44a1cd0b9..8f805bf1b 100644
--- a/mesalib/src/glsl/ir_function_detect_recursion.cpp
+++ b/mesalib/src/glsl/ir_function_detect_recursion.cpp
@@ -125,6 +125,7 @@
#include "glsl_parser_extras.h"
#include "linker.h"
#include "program/hash_table.h"
+#include "program.h"
struct call_node : public exec_node {
class function *func;
@@ -311,9 +312,7 @@ emit_errors_linked(const void *key, void *data, void *closure)
f->sig->function_name(),
&f->sig->parameters);
- linker_error_printf(prog,
- "function `%s' has static recursion.\n",
- proto);
+ linker_error(prog, "function `%s' has static recursion.\n", proto);
ralloc_free(proto);
prog->LinkStatus = false;
}