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 #52234 is a reply to message #52232] Tue, 13 August 2019 09:07 Go to previous message
Tom1
Messages: 1217
Registered: March 2007
Senior Contributor
Hi Mirek,

Maybe that is a good idea, actually before calling GLExecute() and GLPaint() too. However, the GLExecute() and GLPaint() should only be called if glGetError() does not have any errors pending from its own initialization. This way we can always trust in GLExecute() and GLPaint() that the initialization of GL has been successful and any GL errors are due to our own code. This may require something to handle errors inside GLCtrl.

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 Jun 12 21:20:04 CEST 2024

Total time taken to generate the page: 0.03465 seconds