summaryrefslogtreecommitdiffstats
path: root/src/glsl/standalone_scaffolding.cpp
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-04-29 14:30:22 -0700
committerJason Ekstrand <[email protected]>2015-05-16 11:16:32 -0700
commitcae8db6b7e149e111fb9d3de69a45c0b3e036b76 (patch)
treeb65c4df2a821a3dd73176cb2a926d0158cb72f44 /src/glsl/standalone_scaffolding.cpp
parent98452cd8ae22d2c7448b87c9090b3f1be09d9bc5 (diff)
glsl/compiler: Move the error_no_memory stub to standalone_scaffolding.cpp
Diffstat (limited to 'src/glsl/standalone_scaffolding.cpp')
-rw-r--r--src/glsl/standalone_scaffolding.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glsl/standalone_scaffolding.cpp b/src/glsl/standalone_scaffolding.cpp
index a109c4e92d2..6e1ecec3235 100644
--- a/src/glsl/standalone_scaffolding.cpp
+++ b/src/glsl/standalone_scaffolding.cpp
@@ -34,6 +34,12 @@
#include <string.h>
#include "util/ralloc.h"
+extern "C" void
+_mesa_error_no_memory(const char *caller)
+{
+ fprintf(stderr, "Mesa error: out of memory in %s", caller);
+}
+
void
_mesa_warning(struct gl_context *ctx, const char *fmt, ...)
{