or maybe not...

This commit is contained in:
Steve Checkoway
2003-11-02 01:46:25 +00:00
parent 19cdfc9b18
commit 9019a4fbd1
+1 -1
View File
@@ -15,5 +15,5 @@ bool wglSwapIntervalEXT(int swapInterval)
{
/* I really have no idea what the expected return value for success. If it was an int
* I would return 0, since it is a bool, I'm going to guess that true is success. */
return !CGLSetParameter(CGLGetCurrentContext(), kCGLCPSwapInterval, &(long(swapInterval)));
return !CGLSetParameter(CGLGetCurrentContext(), kCGLCPSwapInterval, (long*)(&swapInterval));
}