diff options
author | Danny Holman <dholman@gymli.org> | 2024-10-25 23:19:09 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2024-10-25 23:19:09 -0500 |
commit | b13c7d59a91fa1790f132e08791c31940b475426 (patch) | |
tree | 976adf75517abf5cbec6a567f73ed786f50029d8 /include/rune | |
parent | e879c0388fd9ebb6272eee9c12027f7637efbffc (diff) |
ui: make initialization functions more consistent
Make the initialization functions more consistent with the rest of the
engine. Init functions should have the format `rune_init_<object>`.
Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'include/rune')
-rw-r--r-- | include/rune/ui/window.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rune/ui/window.h b/include/rune/ui/window.h index 42bb8b9..bd12fb9 100644 --- a/include/rune/ui/window.h +++ b/include/rune/ui/window.h @@ -32,7 +32,7 @@ struct rune_window { GLFWwindow *window; }; -RAPI struct rune_window* rune_create_window(uint32_t width, uint32_t height, const char *title); +RAPI struct rune_window* rune_init_window(uint32_t width, uint32_t height, const char *title); RAPI void rune_destroy_window(struct rune_window *window); #endif |