1 #include <Cocoa/Cocoa.h>
2 #include "vvOSXHelper.h"
4 // For retina displays, see
5 // http://public.kitware.com/pipermail/vtkusers/2015-February/090117.html
6 void disableGLHiDPI( long a_id ){
7 NSView *view = reinterpret_cast<NSView*>( a_id );
8 [view setWantsBestResolutionOpenGLSurface:NO];