Cocoa_Window::Cocoa_Window()/OpenGl_Context::SetSwapInterval() have been corrected to suppress warning.
myYBottom (thePxTop + thePxHeight)
{
#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
- //
+ (void )theTitle;
#else
if (thePxWidth <= 0 || thePxHeight <= 0)
{
return Standard_True;
}
#elif defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE
- //
+ (void )theInterval; // vsync cannot be turned OFF on iOS
#elif defined(__APPLE__)
if (::CGLSetParameter (CGLGetCurrentContext(), kCGLCPSwapInterval, &theInterval) == kCGLNoError)
{