From 3b19909eb1178477d18d245bbfa0031a26d2d13d Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Tue, 2 Aug 2022 01:31:18 -0500 Subject: [PATCH] [nostalgia/core/glfw] Set window title to app name --- src/nostalgia/core/glfw/gfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nostalgia/core/glfw/gfx.cpp b/src/nostalgia/core/glfw/gfx.cpp index c1cf8807..5260ee63 100644 --- a/src/nostalgia/core/glfw/gfx.cpp +++ b/src/nostalgia/core/glfw/gfx.cpp @@ -101,7 +101,7 @@ ox::Error initGfx(Context *ctx) noexcept { glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GLFW_TRUE); } glfwWindowHint(GLFW_RESIZABLE, GLFW_TRUE); - id->window = glfwCreateWindow(240 * Scale, 160 * Scale, "nostalgia", nullptr, nullptr); + id->window = glfwCreateWindow(240 * Scale, 160 * Scale, ctx->appName, nullptr, nullptr); if (id->window == nullptr) { return OxError(1, "Could not open GLFW window"); }