From: Jason Ekstrand Date: Mon, 4 Apr 2016 19:05:07 +0000 (-0700) Subject: glsl/standalone: Get rid of the unneeded _mesa_error_no_memory stub X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4d040a4ad35f0ab25e0f9ba031a71885a4cec1dd;p=mesa.git glsl/standalone: Get rid of the unneeded _mesa_error_no_memory stub This hasn't been needed since we stopped using the GLSL compiler in the Vulkan driver and it was tripping up scons. Removing it fixes the scons build. --- diff --git a/src/compiler/glsl/standalone_scaffolding.cpp b/src/compiler/glsl/standalone_scaffolding.cpp index 5ce804eed20..e350f702099 100644 --- a/src/compiler/glsl/standalone_scaffolding.cpp +++ b/src/compiler/glsl/standalone_scaffolding.cpp @@ -35,12 +35,6 @@ #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, ...) {