diff options
| author | Andre Weissflog <floooh@gmail.com> | 2025-10-12 20:13:44 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2025-10-12 20:13:44 +0200 |
| commit | 583efa929df08065e717c5204506c01792c80dce (patch) | |
| tree | 5b906d6858a6a2b023bffe7ee53c7fc2ee808479 /sokol_glue.h | |
| parent | 95995c55d0301b5b6fe0e25bdbad8df3ffb95f8a (diff) | |
sokol_glue.h: sglue_swapchain => sglue_swapchain_next, and code cleanup
Diffstat (limited to 'sokol_glue.h')
| -rw-r--r-- | sokol_glue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sokol_glue.h b/sokol_glue.h index 551fd113..7a4295c0 100644 --- a/sokol_glue.h +++ b/sokol_glue.h @@ -53,7 +53,7 @@ functions. Use this in sg_begin_pass() for a 'swapchain pass' like this: - sg_begin_pass(&(sg_pass){ .swapchain = sglue_swapchain(), ... }); + sg_begin_pass(&(sg_pass){ .swapchain = sglue_swapchain_next(), ... }); LICENSE ======= @@ -104,7 +104,7 @@ extern "C" { #endif SOKOL_GLUE_API_DECL sg_environment sglue_environment(void); -SOKOL_GLUE_API_DECL sg_swapchain sglue_swapchain(void); +SOKOL_GLUE_API_DECL sg_swapchain sglue_swapchain_next(void); #ifdef __cplusplus } /* extern "C" */ |