Skip to content

Commit

Permalink
Fixed|libgui: Image captured from an FBO was upside down
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 7, 2017
1 parent 6709b20 commit c2359e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/sdk/libgui/src/graphics/glframebuffer.cpp
Expand Up @@ -613,7 +613,7 @@ QImage GLFramebuffer::toImage() const
(GLvoid *) img.constBits());
// Restore the stack's target.
GLState::current().target().glBind();
return img;
return img.mirrored(false, true);
}
return QImage();
}
Expand Down

0 comments on commit c2359e1

Please sign in to comment.