[turbine/glfw] Partially revert debug change
This commit is contained in:
parent
fc5e63a4d7
commit
ecb09930db
@ -220,9 +220,9 @@ ox::Error initGfx(Context &ctx) noexcept {
|
||||
glfwWindowHint(GLFW_RESIZABLE, GLFW_TRUE);
|
||||
auto cstr = ox_malloca(ctx.keelCtx.appName.bytes() + 1, char);
|
||||
ox_strncpy(cstr.get(), ctx.keelCtx.appName.data(), ctx.keelCtx.appName.bytes());
|
||||
//constexpr auto Scale = 5;
|
||||
//gctx.window = glfwCreateWindow(240 * Scale, 160 * Scale, cstr, nullptr, nullptr);
|
||||
gctx.window = glfwCreateWindow(868, 741, cstr.get(), nullptr, nullptr);
|
||||
constexpr auto Scale = 5;
|
||||
gctx.window = glfwCreateWindow(240 * Scale, 160 * Scale, cstr.get(), nullptr, nullptr);
|
||||
//gctx.window = glfwCreateWindow(868, 741, cstr.get(), nullptr, nullptr);
|
||||
if (gctx.window == nullptr) {
|
||||
return OxError(1, "Could not open GLFW window");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user