mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-29 17:35:06 +00:00
Carbon examples: some more port flushing
This commit is contained in:
parent
2187affef2
commit
380c8115fe
@ -176,6 +176,9 @@ void Console::Update()
|
||||
DrawCells(start, dirtyRect.right, row, needclear);
|
||||
}
|
||||
dirtyRect = Rect();
|
||||
#if TARGET_API_MAC_CARBON
|
||||
QDFlushPortBuffer(consolePort,NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
void Console::putch(char c)
|
||||
|
@ -258,7 +258,7 @@ int main()
|
||||
if(Button())
|
||||
return 0;
|
||||
#if TARGET_API_MAC_CARBON
|
||||
// QDFlushPortBuffer(GetWindowPort(win),NULL);
|
||||
QDFlushPortBuffer(GetWindowPort(win),NULL);
|
||||
#endif
|
||||
}
|
||||
long endTime = TickCount();
|
||||
|
Loading…
x
Reference in New Issue
Block a user