summaryrefslogtreecommitdiff
path: root/src/dged/reactor.h
diff options
context:
space:
mode:
authorAlbert Cervin <albert@acervin.com>2025-11-18 17:17:14 +0100
committerAlbert Cervin <albert@acervin.com>2025-11-19 11:06:32 +0100
commitfd5683cdc61efa37a1be7b94901f75c5409d2297 (patch)
treeecc88724fb0c0ac408daea1fca7a69a48416b96f /src/dged/reactor.h
parent9cf86e6dcafc8e7d9a314fb8fdc87347eb00fb2c (diff)
downloaddged-fd5683cdc61efa37a1be7b94901f75c5409d2297.tar.gz
dged-fd5683cdc61efa37a1be7b94901f75c5409d2297.tar.xz
dged-fd5683cdc61efa37a1be7b94901f75c5409d2297.zip
Make sure rendering happens at least 7ms apartrendering-improvements
Running a lot faster just causes tearing.
Diffstat (limited to 'src/dged/reactor.h')
-rw-r--r--src/dged/reactor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dged/reactor.h b/src/dged/reactor.h
index 82ff3fe..b5ae1eb 100644
--- a/src/dged/reactor.h
+++ b/src/dged/reactor.h
@@ -20,7 +20,7 @@ struct reactor;
struct reactor *reactor_create(void);
void reactor_destroy(struct reactor *reactor);
-void reactor_update(struct reactor *reactor);
+void reactor_update(struct reactor *reactor, int timeout_ms);
bool reactor_poll_event(struct reactor *reactor, uint32_t ev_id);
uint32_t reactor_register_interest(struct reactor *reactor, int fd,
enum interest interest);