call DF's stubs for SDL semaphore functions
parent
b2f32be117
commit
9f605d6396
@ -1,6 +1,6 @@
|
|||||||
void zoom_display(df::zoom_commands command) {
|
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);
|
async_zoom.queue.push_back(command);
|
||||||
SDL_SemPost(async_zoom.sem);
|
DFHack::DFSDL::DFSDL_SemPost(async_zoom.sem);
|
||||||
SDL_SemPost(async_zoom.sem_fill);
|
DFHack::DFSDL::DFSDL_SemPost(async_zoom.sem_fill);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue