From c56d0a61b97b29cec851df4cd385f095e3876848 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Fri, 7 Oct 2011 15:45:51 -0700 Subject: [PATCH] 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 Signed-off-by: Chad Versace --- src/mesa/main/feedback.c | 2 +- src/mesa/main/feedback.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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], -- 2.30.2