dfhack/library/include/df/custom/enabler.methods.inc

7 lines
245 B
C++

void zoom_display(df::zoom_commands command) {
DFHack::DFSDL::DFSDL_SemWait(async_zoom.sem);
async_zoom.queue.push_back(command);
DFHack::DFSDL::DFSDL_SemPost(async_zoom.sem);
DFHack::DFSDL::DFSDL_SemPost(async_zoom.sem_fill);
}