diff --git a/etc/boot.lua b/etc/boot.lua index 446fa05c..dad76bb2 100644 --- a/etc/boot.lua +++ b/etc/boot.lua @@ -166,7 +166,7 @@ function lovr.errhand(message) if lovr.audio then lovr.audio.stop() end - local scale = .3 + local scale = .35 local font = lovr.graphics.getDefaultFont() local wrap = .7 * font:getPixelDensity() local lines = font:getLines(message, wrap) diff --git a/src/modules/graphics/graphics.c b/src/modules/graphics/graphics.c index fa23dd08..17a0dc2a 100644 --- a/src/modules/graphics/graphics.c +++ b/src/modules/graphics/graphics.c @@ -3441,7 +3441,7 @@ void lovrPassReset(Pass* pass) { for (uint32_t i = 0; i < pass->cameraCount; i++) { mat4_identity(pass->cameras[i].view); - mat4_perspective(pass->cameras[i].projection, 1.f, aspect, .01f, 0.f); + mat4_perspective(pass->cameras[i].projection, 1.f / aspect, aspect, .01f, 0.f); } pass->cameraDirty = true;