or maybe not...
This commit is contained in:
@@ -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 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. */
|
* 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));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user