summaryrefslogtreecommitdiff
path: root/examples/simple_window.c
diff options
context:
space:
mode:
authorBerke Güzel <wenekar1@gmail.com>2026-10-12 08:41:51 +0300
committerBerke Güzel <wenekar1@gmail.com>2026-10-12 08:41:51 +0300
commit3b8af02be94a510e385f44d58c35c86bb89424a6 (patch)
tree2573fb5ac41700d458109ee1cea4bfd875ecf1a2 /examples/simple_window.c
parentf7fa0930cb46046f995fa1ab927aef62466e995e (diff)
refactor: simplify public API and isolate native extensions
Separate loop/timer and native interoperability APIs from the portable surface header. Unify dispatch, geometry queries, and timer callbacks; keep framebuffer bookkeeping and frame clocks private, and hide implementation symbols. Update backends, documentation, examples, and API/integration coverage. Verify exports, strict C/C++ installed consumers, and normal plus ASan/UBSan suites.
Diffstat (limited to 'examples/simple_window.c')
-rw-r--r--examples/simple_window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple_window.c b/examples/simple_window.c
index a6819f9..40a7c25 100644
--- a/examples/simple_window.c
+++ b/examples/simple_window.c
@@ -146,7 +146,7 @@ int main(void)
printf(" - Escape: exit\n\n");
while (running) {
- yasl_display_dispatch(d);
+ yasl_display_dispatch(d, -1);
struct yasl_input_event ev;
while (yasl_surface_input_poll(s, &ev)) {