mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 10:19:59 +01:00
Categories of Settings to make things more clear.
This commit is contained in:
2
View.cpp
2
View.cpp
@@ -306,7 +306,7 @@ RenderView::~RenderView()
|
||||
void RenderView::setResolution(glm::vec3 resolution)
|
||||
{
|
||||
if (resolution.x < 128.f || resolution.y < 128.f)
|
||||
resolution = FrameBuffer::getResolutionFromParameters(Settings::application.framebuffer_ar, Settings::application.framebuffer_h);
|
||||
resolution = FrameBuffer::getResolutionFromParameters(Settings::application.render_view_ar, Settings::application.render_view_h);
|
||||
|
||||
if (frame_buffer_)
|
||||
delete frame_buffer_;
|
||||
|
||||
Reference in New Issue
Block a user