diff options
Diffstat (limited to 'src/glsl/main.cpp')
-rw-r--r-- | src/glsl/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glsl/main.cpp b/src/glsl/main.cpp index 4ae8f0987d5..a4452e023f2 100644 --- a/src/glsl/main.cpp +++ b/src/glsl/main.cpp @@ -40,6 +40,12 @@ 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) { |