Carbon examples: some more port flushing

This commit is contained in:
Wolfgang Thaller 2015-10-12 02:48:43 +02:00 committed by Wolfgang Thaller
parent 1048b06ce4
commit cbfd5957e9

View File

@ -231,6 +231,10 @@ void Console::Update()
InvertRect(&r); InvertRect(&r);
cursorDrawn = !cursorDrawn; cursorDrawn = !cursorDrawn;
} }
#if TARGET_API_MAC_CARBON
QDFlushPortBuffer(consolePort,NULL);
#endif
} }
void Console::putch(char c) void Console::putch(char c)