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:
@@ -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);
|
||||
|
||||
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user