forked from bartvdbraak/blender
Fix mac build error with SDK < 10.7, this version is not then defined then as
pointed out by Patrick Boelens on the mailing list.
This commit is contained in:
parent
073669dd85
commit
f1d487d1c4
@ -578,7 +578,7 @@ GHOST_WindowCocoa::GHOST_WindowCocoa(
|
||||
setDrawingContextType(type);
|
||||
updateDrawingContext();
|
||||
activateDrawingContext();
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7 // retina support started with 10.7.4 afaik
|
||||
#if defined(MAC_OS_X_VERSION_10_7) && (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7) // retina support started with 10.7.4 afaik
|
||||
if (m_systemCocoa->m_nativePixel) {
|
||||
[m_openGLView setWantsBestResolutionOpenGLSurface:YES];
|
||||
NSRect backingBounds = [m_openGLView convertRectToBacking:[m_openGLView bounds]];
|
||||
|
Loading…
Reference in New Issue
Block a user