Link Error

Hiroshi ABE habe36 at gmail.com
Mon Apr 7 06:58:19 PDT 2008


Thank you, Chris,

2008/4/7, crjjrc <crjjrc at gmail.com>:
[snip]
>
> Are you sure that you glEnable(GL_LIGHTING) and glEnable(GL_LIGHT0)
>  when you have a valid wxGLContext?  SetCurrent() doesn't work unless
>  the window is shown, i.e., it doesn't work in a canvas' constructor.

Yes, surely I do. Actually, the code works fine as I expect with 2.6.4
both on MacOSX and on WIndows XP. The "Dark" problem occurs to the
other guy too. He reported it on wxWidgets Forum ( I lost where it was
).

Hiroshi


More information about the wx-users mailing list