I guess gcc no longer likes &long(var). It only seems to accept &(long(var)).

This commit is contained in:
Steve Checkoway
2003-11-02 00:28:42 +00:00
parent ede9684d00
commit 1a3278a073
+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)));
}