summaryrefslogtreecommitdiffstats
path: root/src/glsl/main.cpp
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-04-15 13:40:55 +0100
committerEmil Velikov <[email protected]>2015-06-12 15:32:18 +0100
commit1df5a6c71ee4a3c08b5da3f8bae24880af16b74c (patch)
tree31e6a68b178dde0bd05c739f4bf9f5ffd7008bb4 /src/glsl/main.cpp
parent4722743f4b920c6986a7148ef3ce76b4fd12db46 (diff)
mesa; add a dummy _mesa_error_no_memory() symbol to libglsl_util
Rather than forcing everyone to provide their own definition of the symbol provide a common (dummy) one. This helps us resolve the build of the standalone pipe-drivers (amongst others), which are missing the symbol. Cc: Rob Clark <[email protected]> Cc: "10.6" <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/glsl/main.cpp')
-rw-r--r--src/glsl/main.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/glsl/main.cpp b/src/glsl/main.cpp
index 4b39c9e54c2..23412980dce 100644
--- a/src/glsl/main.cpp
+++ b/src/glsl/main.cpp
@@ -41,12 +41,6 @@
static int glsl_version = 330;
-extern "C" void
-_mesa_error_no_memory(const char *caller)
-{
- fprintf(stderr, "Mesa error: out of memory in %s", caller);
-}
-
static void
initialize_context(struct gl_context *ctx, gl_api api)
{