From b13c7d59a91fa1790f132e08791c31940b475426 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Fri, 25 Oct 2024 23:19:09 -0500 Subject: 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_`. Signed-off-by: Danny Holman --- ui/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/window.c b/ui/window.c index a15a45b..37c32c6 100644 --- a/ui/window.c +++ b/ui/window.c @@ -6,7 +6,7 @@ #include #include -struct rune_window* rune_create_window(uint32_t width, uint32_t height, const char *title) { +struct rune_window* rune_init_window(uint32_t width, uint32_t height, const char *title) { glfwInit(); glfwSetErrorCallback(error_callback); glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API); -- cgit v1.2.3