U++ framework
Do not panic. Ask here before giving up.

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: 1319
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: Wed Sep 09 00:35:02 GMT+2 2026

Total time taken to generate the page: 0.00790 seconds