mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-16 20:59:59 +01:00
Disabling the framebuffer blit of output rendering
Blit of framebuffer is incompatible with the new features of Display View to adjust whitebalance and geometry of rendered frame on output windows.
This commit is contained in:
@@ -182,11 +182,8 @@ void RenderView::drawThumbnail()
|
||||
frame_thumbnail_ = new FrameBuffer( res_thumbnail );
|
||||
|
||||
// render
|
||||
if (Settings::application.render.blit) {
|
||||
if ( !frame_buffer_->blit(frame_thumbnail_) )
|
||||
throw std::runtime_error("no blit");
|
||||
}
|
||||
else {
|
||||
if ( !frame_buffer_->blit(frame_thumbnail_) ){
|
||||
// render anyway if blit failed
|
||||
FrameBufferSurface *thumb = new FrameBufferSurface(frame_buffer_);
|
||||
frame_thumbnail_->begin();
|
||||
thumb->draw(glm::identity<glm::mat4>(), frame_thumbnail_->projection());
|
||||
|
||||
Reference in New Issue
Block a user