Skip to content

Commit

Permalink
[osx] revert part of 015b947
Browse files Browse the repository at this point in the history
  • Loading branch information
davilla committed Jul 11, 2011
1 parent 88a2040 commit 6976ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/windowing/osx/WinSystemOSX.mm
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ void DisplayFadeFromBlack(CGDisplayFadeReservationToken fade_token)
GLint swapInterval;

swapInterval = enable ? 1 : 0;
[[NSOpenGLContext currentContext] setValues:(const GLint*)&swapInterval forParameter:NSOpenGLCPSwapInterval];
[[NSOpenGLContext currentContext] setValues:(const long int*)&swapInterval forParameter:NSOpenGLCPSwapInterval];
}

bool CWinSystemOSX::SwitchToVideoMode(int width, int height, double refreshrate)
Expand Down

0 comments on commit 6976ed2

Please sign in to comment.