summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2024-10-25 23:19:09 -0500
committerDanny Holman <dholman@gymli.org>2024-10-25 23:19:09 -0500
commitb13c7d59a91fa1790f132e08791c31940b475426 (patch)
tree976adf75517abf5cbec6a567f73ed786f50029d8 /ui
parente879c0388fd9ebb6272eee9c12027f7637efbffc (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 'ui')
-rw-r--r--ui/window.c2
1 files changed, 1 insertions, 1 deletions
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 <rune/util/types.h>
#include <string.h>
-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);