glDrawRangeElements(GL_TRIANGLES, 0, 947, 948, GL_UNSIGNED_SHORT, 0x01c1be00) Context: 0x0195ce00 kCGLCPGPUFragmentProcessing: GL_TRUE kCGLCPGPUVertexProcessing: GL_FALSE kCGLCPCurrentRendererID: 9732 (0x00002604) Function call stack: 0: 0x0edc08d5 in gloGetCGLDispatch in 1: 0x93b83f72 in glDrawRangeElements in 2: 0x000d63ae in std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator > >, batch_item const&) in 3: 0x002022d0 in std::vector >::erase(__gnu_cxx::__normal_iterator > >, __gnu_cxx::__normal_iterator > >) in 4: 0x002067a4 in std::vector >::erase(__gnu_cxx::__normal_iterator > >, __gnu_cxx::__normal_iterator > >) in 5: 0x00207663 in std::vector >::erase(__gnu_cxx::__normal_iterator > >, __gnu_cxx::__normal_iterator > >) in 6: 0x0017ef51 in sim_room_buttons::sim_room_buttons(char*, int, int, int, int, int) in 7: 0x001817a5 in sim_room_buttons::sim_room_buttons(char*, int, int, int, int, int) in 8: 0x000c226b in std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator > >, color const&) in 9: 0x0000c45a in 10: 0x0000c54e in 11: 0x00003a3b in 12: 0x905def1c in nsnote_callback in 13: 0x914558da in _CFXNotificationPost in 14: 0x91455bb3 in CFXNotificationPostNotification in 15: 0x905dc080 in -[NSNotificationCenter postNotificationName:object:userInfo:] in 16: 0x905e58c8 in -[NSNotificationCenter postNotificationName:object:] in 17: 0x9698249a in -[NSApplication _postDidFinishNotification] in 18: 0x969823a9 in -[NSApplication _sendFinishLaunchingNotification] in 19: 0x968fbec3 in -[NSApplication(NSAppleEventHandling) _handleAEOpen:] in 20: 0x968fb6bc in -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] in 21: 0x9060443f in -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] in 22: 0x9060414f in NSAppleEventManagerGenericHandler in 23: 0x963e8648 in aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) in 24: 0x963e857e in dispatchEventAndSendReply(AEDesc const*, AEDesc*) in 25: 0x963e8425 in aeProcessAppleEvent in 26: 0x90e4e9a5 in AEProcessAppleEvent in 27: 0x968f8f91 in DPSNextEvent in 28: 0x968f8630 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] in 29: 0x968f166b in -[NSApplication run] in 30: 0x000039cc in 31: 0x00003d76 in 32: 0x00002f02 in 33: 0x00002e29 in 34: 0x00000001