Wim de Vries wrote:
Hi,
This one seems to be accepted:
new MyCanvas($frame, -1,[10,10],[100,100],0,"")
Still, WX_GL_DOUBLEBUFFER does not seem to be exported.
My wx::GLCanvas version is 0.7 (the latest as far as I can see).
I just started with openGL, but not being able to set parameters like
WX_GL_DOUBLEBUFFER, doesn't that make the use of OpenGL very limited.
wim
Just uploaded version 0.08 to CPAN:
0.08 Thu Aug 6 20:12:12 CEST 2009
- Add attribute list parameter to wxGLCanvas constructor
and wrap WX_GL_* constants.
Wim de Vries wrote:
Thanks Eric,
At least Perl now recognizes 'use Wx::GLCanvas'.
Still, cannot make much of the demo modules by Mattia Barbon.
I know next to nothing about OpenGL, and the examples reflect that...
HTH and sorry for the delay,
Mattia