glsl/compiler: Move the error_no_memory stub to standalone_scaffolding.cpp

This commit is contained in:
Jason Ekstrand
2015-04-29 14:30:22 -07:00
parent 98452cd8ae
commit cae8db6b7e
2 changed files with 6 additions and 6 deletions
-6
View File
@@ -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)
{
+6
View File
@@ -34,6 +34,12 @@
#include <string.h>
#include "util/ralloc.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, ...)
{