What does renderTarget in CreatePanel() do?

0 views
Skip to first unread message

Christopher Ford

unread,
Nov 21, 2006, 2:32:35 AM11/21/06
to bluetu...@googlegroups.com
Heya,

What does the renderTarget argument to CreatePanel() do? I can tell it adds a bunch of new options, but I don't understand what this is in aide of.

4d

tom jacobs

unread,
Nov 21, 2006, 2:49:16 AM11/21/06
to bluetu...@googlegroups.com
It's meant to be for panels that you openGL render to, i.e. the renderPanel, to tell windows not to draw to it. I thought openGL wouldn't render to panels without it set..
But weird, its actually turned off for the renderPanel. If you turn it true you can see that windows doesn't draw the renderpanel on startup, instead leaving a gaping hole in the program's face until a second later or so when openGL kicks in. This is probably not preferable.
So ya, the renderTarget flag is pretty useless as it is not needed to be used and is crap when used. Good find. I think its totally useless, so we can probably take it out.

Tom.
--
Tom.
Reply all
Reply to author
Forward
0 new messages