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 <brianp@vmware.com>
Signed-off-by: Chad Versace <chad@chad-versace.us>
This commit is contained in:
Chad Versace
2011-10-07 15:45:51 -07:00
parent 2e5a1a254e
commit c56d0a61b9
2 changed files with 4 additions and 1 deletions
+1 -1
View 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);
+3
View 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],