Add custom enabler::zoom_display() method (screen.zoom in Lua)
parent
42e4f584b9
commit
01c6d05775
@ -0,0 +1,6 @@
|
||||
void zoom_display(df::zoom_commands command) {
|
||||
SDL_SemWait(async_zoom.sem);
|
||||
async_zoom.queue.push_back(command);
|
||||
SDL_SemPost(async_zoom.sem);
|
||||
SDL_SemPost(async_zoom.sem_fill);
|
||||
}
|
Loading…
Reference in New Issue