Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osgViewer::ScreenCaptureHandler not working with osgQt #49

Open
blobfish opened this issue Aug 25, 2021 · 0 comments
Open

osgViewer::ScreenCaptureHandler not working with osgQt #49

blobfish opened this issue Aug 25, 2021 · 0 comments

Comments

@blobfish
Copy link

I have taken the osgviewerQt example and added a osgViewer::ScreenCaptureHandler. When I take the screen capture I get an error. "Warning: detected OpenGL error 'invalid operation' at end of SceneView::draw()" and the output picture is corrupted. I can turn off the samples via QSurfaceFormat I get a valid picture but still have the error. I have turned on all various levels of OSG_NOTIFY and haven't got any clues. I ran it through apitrace and didn't see anything, but I my opengl knowledge is pretty low so that might not mean anything. I have tested with just osg and I can't duplicate the problem. Any hints on what Qt might be doing that ScreenCaptureHandler doesn't like? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant