mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-30 09:32:07 +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);
|
DrawCells(start, dirtyRect.right, row, needclear);
|
||||||
}
|
}
|
||||||
dirtyRect = Rect();
|
dirtyRect = Rect();
|
||||||
|
#if TARGET_API_MAC_CARBON
|
||||||
|
QDFlushPortBuffer(consolePort,NULL);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void Console::putch(char c)
|
void Console::putch(char c)
|
||||||
|
@ -258,7 +258,7 @@ int main()
|
|||||||
if(Button())
|
if(Button())
|
||||||
return 0;
|
return 0;
|
||||||
#if TARGET_API_MAC_CARBON
|
#if TARGET_API_MAC_CARBON
|
||||||
// QDFlushPortBuffer(GetWindowPort(win),NULL);
|
QDFlushPortBuffer(GetWindowPort(win),NULL);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
long endTime = TickCount();
|
long endTime = TickCount();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user