glsl/compiler: Move the error_no_memory stub to standalone_scaffolding.cpp
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 29 Apr 2015 21:30:22 +0000 (14:30 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 31 Aug 2015 23:58:20 +0000 (16:58 -0700)
src/glsl/standalone_scaffolding.cpp

index 6033364..6ff9553 100644 (file)
 #include "util/ralloc.h"
 #include "util/strtod.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, ...)
 {