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 » Community » Newbie corner » [SOLVED] Background in dockable GL objects
[SOLVED] Background in dockable GL objects [message #35467] Mon, 20 February 2012 18:37
keltor is currently offline  keltor
Messages: 73
Registered: February 2012
Member
Hi everyone,

I am playing around with the Docking and GLCtrl packages. It's rather amazing how advanced both objects are! However, I have a small problem, probably quite trivial but I haven't solved it yet. When I initialise the (docked) GL window, I paint it blue (with glClearColor and glClear), but when I resize it, it reverts to black.

Any way to avoid this?

Thanks, and keep up the amazing work, this is truly a wonderful software!

Kel


Edit: Never mind, found a workaround while I was looking for something else: here. One just has to add a glClearColor to that example and it works.

[Updated on: Wed, 22 February 2012 11:55]

Report message to a moderator

Previous Topic: X Window System error
Next Topic: How can I callback on staticimage click
Goto Forum:
  


Current Time: Fri Apr 26 03:28:14 CEST 2024

Total time taken to generate the page: 0.02342 seconds