summaryrefslogtreecommitdiffstats
path: root/src/glsl/standalone_scaffolding.h
diff options
context:
space:
mode:
authorDylan Noblesmith <[email protected]>2012-04-02 16:26:05 +0000
committerDylan Noblesmith <[email protected]>2012-05-02 16:12:23 +0000
commitd5a10dba6464d6cc40b3abcd6b704fb087e1056c (patch)
treecfece3d957024d8510fe9f674a5d9bfffaf604a6 /src/glsl/standalone_scaffolding.h
parent8c99906cf5c8825ada0699f61926864e568ca69a (diff)
glsl: report errors via GL_ARB_debug_output
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glsl/standalone_scaffolding.h')
-rw-r--r--src/glsl/standalone_scaffolding.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/standalone_scaffolding.h b/src/glsl/standalone_scaffolding.h
index 87733200670..41ce35befc6 100644
--- a/src/glsl/standalone_scaffolding.h
+++ b/src/glsl/standalone_scaffolding.h
@@ -40,6 +40,10 @@ _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr,
extern "C" struct gl_shader *
_mesa_new_shader(struct gl_context *ctx, GLuint name, GLenum type);
+extern "C" void
+_mesa_shader_debug(struct gl_context *ctx, GLenum type, GLuint id,
+ const char *msg, int len);
+
/**
* Initialize the given gl_context structure to a reasonable set of
* defaults representing the minimum capabilities required by the