From: Jason Ekstrand Date: Wed, 29 Apr 2015 21:30:22 +0000 (-0700) Subject: glsl/compiler: Move the error_no_memory stub to standalone_scaffolding.cpp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c585a722d61257c29eb9160e51b140afb27a928;p=mesa.git glsl/compiler: Move the error_no_memory stub to standalone_scaffolding.cpp --- diff --git a/src/glsl/standalone_scaffolding.cpp b/src/glsl/standalone_scaffolding.cpp index 6033364afc5..6ff9553d6fe 100644 --- a/src/glsl/standalone_scaffolding.cpp +++ b/src/glsl/standalone_scaffolding.cpp @@ -35,6 +35,12 @@ #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, ...) {