From: Chad Versace Date: Fri, 7 Oct 2011 22:45:51 +0000 (-0700) Subject: mesa: Declare _mesa_RenderMode as non-static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c56d0a61b97b29cec851df4cd385f095e3876848;p=mesa.git 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 --- 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],