introduce MwLLEndDraw, which can be stubbed safely on any platforms and exists purely for wayland to be able to swap buffers at a better time
This commit is contained in:
parent
a932fc00ea
commit
247e0b361c
7 changed files with 31 additions and 28 deletions
|
|
@ -334,6 +334,8 @@ void MwLoop(MwWidget handle) {
|
|||
}
|
||||
if(v != 0) break;
|
||||
|
||||
MwLLEndDraw(handle->lowlevel);
|
||||
|
||||
for(i = 0; i < arrlen(handle->tick_list); i++) {
|
||||
MwDispatch(handle->tick_list[i], tick);
|
||||
MwDispatchUserHandler(handle->tick_list[i], MwNtickHandler, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue