call DF's stubs for SDL semaphore functions

develop
Myk Taylor 2023-01-04 19:55:46 -08:00
parent b2f32be117
commit 9f605d6396
No known key found for this signature in database
1 changed files with 3 additions and 3 deletions

@ -1,6 +1,6 @@
void zoom_display(df::zoom_commands command) {
SDL_SemWait(async_zoom.sem);
DFHack::DFSDL::DFSDL_SemWait(async_zoom.sem);
async_zoom.queue.push_back(command);
SDL_SemPost(async_zoom.sem);
SDL_SemPost(async_zoom.sem_fill);
DFHack::DFSDL::DFSDL_SemPost(async_zoom.sem);
DFHack::DFSDL::DFSDL_SemPost(async_zoom.sem_fill);
}