diff options
Diffstat (limited to 'src/core/core.c')
-rw-r--r-- | src/core/core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/core.c b/src/core/core.c index bb30ced..12aa33f 100644 --- a/src/core/core.c +++ b/src/core/core.c @@ -20,11 +20,11 @@ Core g_core; /** @brief global `Core` that other files can use */ /** @brief Gets the global `Core` singleton */ inline Core* GetCore() { return &g_core; } -void Core_Bringup(struct GLFWwindow* optional_window) { +void Core_Bringup(const char* window_name, struct GLFWwindow* optional_window) { INFO("Initiate Core bringup"); memset(&g_core, 0, sizeof(Core)); - RendererConfig conf = { .window_name = { "Celeritas Engine Core" }, + RendererConfig conf = { .window_name = window_name, .scr_width = SCR_WIDTH, .scr_height = SCR_HEIGHT, .clear_colour = (Vec3){ .08, .08, .1 } }; @@ -80,4 +80,4 @@ GLFWwindow* Core_GetGlfwWindowPtr(Core* core) { return g_core.window; } struct Renderer* Core_GetRenderer(Core* core) { return core->renderer; } -Model* Model_Get(ModelHandle h) { return Model_pool_get(&g_core.models, h); }
\ No newline at end of file +Model* Model_Get(ModelHandle h) { return Model_pool_get(&g_core.models, h); } |