Commit d843a961 authored by Jan Möbius's avatar Jan Möbius
Browse files

Bind snapshot framebuffer via glstate. refs #373

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13685 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 53163b3c
......@@ -1944,7 +1944,7 @@ void glViewer::snapshot(QImage& _image, int _width, int _height, bool _alpha, bo
if ( fb.isValid() ){
fb.bind();
ACG::GLState::bindFramebuffer(GL_FRAMEBUFFER_EXT,fb.handle());
makeCurrent();
// Turn alpha on if demanded
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment