Skip to content

Commit

Permalink
Fix incorrect signature to glXSwapIntervalEXT
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlohr authored Sep 26, 2024
1 parent 2dd1b18 commit fa3e92f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CNFGXDriver.c
Original file line number Diff line number Diff line change
Expand Up @@ -491,9 +491,10 @@ int CNFGHandleInput()
void CNFGSetVSync( int vson )
{
void (*glfn)( int );
void (*glfnXE)( Display *, GLXDrawable, int );
glfn = (void (*)( int ))CNFGGetExtension( "glXSwapIntervalMESA" ); if( glfn ) glfn( vson );
glfn = (void (*)( int ))CNFGGetExtension( "glXSwapIntervalSGI" ); if( glfn ) glfn( vson );
glfn = (void (*)( int ))CNFGGetExtension( "glXSwapIntervalEXT" ); if( glfn ) glfn( vson );
glfnXE = (void (*)( Display *, GLXDrawable, int ))CNFGGetExtension( "glXSwapIntervalEXT" ); if( glfn ) glfnXE( CNFGDisplay, CNFGWindow, vson );
}

#ifdef CNFGRASTERIZER
Expand Down

0 comments on commit fa3e92f

Please sign in to comment.