From 4d040a4ad35f0ab25e0f9ba031a71885a4cec1dd Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 4 Apr 2016 12:05:07 -0700 Subject: [PATCH] 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. --- src/compiler/glsl/standalone_scaffolding.cpp | 6 ------ 1 file changed, 6 deletions(-) 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, ...) { -- 2.30.2