summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2011-10-07 15:45:51 -0700
committerChad Versace <[email protected]>2011-10-18 11:42:53 -0700
commitc56d0a61b97b29cec851df4cd385f095e3876848 (patch)
tree174490a5584ddf91878dab6adaee19a354e8d11e /src/mesa/main
parent2e5a1a254ed81b1d3efa6064f48183eefac784d0 (diff)
mesa: Declare _mesa_RenderMode as non-static
This is required in order for meta-ops to save/restore the GL_RENDER_MODE state. Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/feedback.c2
-rw-r--r--src/mesa/main/feedback.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/main/feedback.c b/src/mesa/main/feedback.c
index cb5f49f67b1..f95e3b5d459 100644
--- a/src/mesa/main/feedback.c
+++ b/src/mesa/main/feedback.c
@@ -418,7 +418,7 @@ _mesa_PopName( void )
* __struct gl_contextRec::RenderMode and notifies the driver via the
* dd_function_table::RenderMode callback.
*/
-static GLint GLAPIENTRY
+GLint GLAPIENTRY
_mesa_RenderMode( GLenum mode )
{
GET_CURRENT_CONTEXT(ctx);
diff --git a/src/mesa/main/feedback.h b/src/mesa/main/feedback.h
index 6d256ee8f2e..c64db31344a 100644
--- a/src/mesa/main/feedback.h
+++ b/src/mesa/main/feedback.h
@@ -33,6 +33,9 @@
#if FEATURE_feedback
+extern GLint GLAPIENTRY
+_mesa_RenderMode( GLenum mode );
+
extern void
_mesa_feedback_vertex( struct gl_context *ctx,
const GLfloat win[4],