glsl/compiler: Move the error_no_memory stub to standalone_scaffolding.cpp
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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, ...)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user