added a nice alert box when blender is run on a mac with less than 8Mb VRAM
This commit is contained in:
@@ -134,6 +134,7 @@ GHOST_WindowCarbon::GHOST_WindowCarbon(
|
||||
//void *handler = &GHOST_WindowCarbon::myWEventHandlerProc;
|
||||
|
||||
::SetWRefCon(m_windowRef,(SInt32)this);
|
||||
setTitle(title);
|
||||
err = InstallWindowEventHandler (m_windowRef, myWEventHandlerProc, GetEventTypeCount(kWEvents), kWEvents,NULL,NULL);
|
||||
if ( err != noErr) {
|
||||
fprintf(stderr," error creating handler %i \n",err);
|
||||
|
||||
Reference in New Issue
Block a user