adding possible new feature

This commit is contained in:
2023-12-22 23:21:24 +01:00
parent 252f9c3da0
commit 8b9d23a17a
12 changed files with 118 additions and 62 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ namespace mlx
{
if(!_renderer->beginFrame())
return;
_proj = glm::ortho<float>(0, _window->getWidth(), 0, _window->getHeight());
_proj = glm::ortho<float>(0, _width, 0, _height);
_renderer->getUniformBuffer()->setData(sizeof(_proj), &_proj);
}