Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Taking snapshot of GLCtrl no longer works
Re: Taking snapshot of GLCtrl no longer works [message #52222 is a reply to message #52221] Mon, 12 August 2019 07:42 Go to previous messageGo to previous message
Tom1
Messages: 1305
Registered: March 2007
Ultimate Contributor
Hi Koldo,

Have you tried to call 'glGetError()' just before taking the snapshot? This would clear any errors prior to calling 'glReadPixels()'. Since you can get the actual snapshot done, it does not sound logical the 'glReadPixels()' would be the one to fail with GL_INVALID_OPERATION. (Just for reference, I do not get GL_INVALID_OPERATION here. Running on latest Windows 10 x64 with Intel Core i9 integrated graphics.)

Best regards,

Tom
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Deleting Ctrl from within itself
Next Topic: SetRect doesn't work correctly on GTK
Goto Forum:
  


Current Time: Sat Aug 02 01:01:49 CEST 2025

Total time taken to generate the page: 0.08330 seconds