mesa: Declare _mesa_RenderMode as non-static
authorChad Versace <chad@chad-versace.us>
Fri, 7 Oct 2011 22:45:51 +0000 (15:45 -0700)
committerChad Versace <chad@chad-versace.us>
Tue, 18 Oct 2011 18:42:53 +0000 (11:42 -0700)
This is required in order for meta-ops to save/restore the GL_RENDER_MODE
state.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Chad Versace <chad@chad-versace.us>
src/mesa/main/feedback.c
src/mesa/main/feedback.h

index cb5f49f67b1f0f1ee0bb133de6cfdbddea93055c..f95e3b5d4595158254dc0ed49ce4137949775c8d 100644 (file)
@@ -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);
index 6d256ee8f2efc89d656b0bfa087370cd70f07248..c64db31344a2780f502c4fcfe45aa3bc4ecda282 100644 (file)
@@ -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],