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
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
|
|
|
Goto Forum:
Current Time: Fri Dec 06 16:06:33 CET 2024
Total time taken to generate the page: 0.01929 seconds
|