mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 10:19:59 +01:00
Setup Multisampling for all rendering and frame buffers. Store in
settings.
This commit is contained in:
3
View.cpp
3
View.cpp
@@ -205,7 +205,8 @@ void RenderView::setResolution(glm::vec3 resolution)
|
||||
if (frame_buffer_)
|
||||
delete frame_buffer_;
|
||||
|
||||
frame_buffer_ = new FrameBuffer(resolution);
|
||||
// output frame is an RBG Multisamples FrameBuffer
|
||||
frame_buffer_ = new FrameBuffer(resolution, false, true);
|
||||
}
|
||||
|
||||
void RenderView::draw()
|
||||
|
||||
Reference in New Issue
Block a user