Archives Aug. 6, 2008

Lazy wrappers around functions

As (extension) functions in OpenGL often are not available until a valid context is created (and functions can be available/unavailable for different contexts), it's necessary to do some lazy-loading inside PyOpenGL sometimes.  Discovered today that the glHistogram wrappers were doing load-time checks for function availability and only wrapping the functions if the checks ...

Continue reading

Previous day

July 29, 2008

Next day

Aug. 7, 2008