fprintf(stderr, "Couldn't get current context!");
CGLPixelFormatObj pixFormat = NULL;
- long int iNumFormats;
+ GLint iNumFormats;
CGLError error;
// Copy the _pixelFormatAttribs into another array to fix
return false;
}
- long screen;
+ GLint screen;
if (error = CGLGetVirtualScreen(CGLGetCurrentContext(), &screen))
{
_cglCheckError(error);