Lazy wrappers around functions
Written by
on
in
Snaking.
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 succeeded. So, created a lazywrapper that can handle such situations. Should go through the rest of the hand-written wrappers and confirm that they are not doing the load-time checks as well.
Pingbacks
Pingbacks are closed.
Comments
Comments are closed.