Merge branch 'master' of ../mesa into vulkan
[mesa.git] / src / glsl / standalone_scaffolding.cpp
index ea9334fd7b7f403323ed98c988e83af4ee286027..1af50d6b68de6d0648e1e98788b34fed13b0bcc4 100644 (file)
 #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, ...)
 {