#180 Error in 3.0.0b1 loading extendes GL functions

v3.0.0
closed-fixed
GL (74)
5
2008-01-07
2008-01-04
Anonymous
No

There is an Error in the baseplatform.py under Windows.
functionTypeFor cannot be found in the load method of _NullFunctionPointer class.

Discussion

  • Markus Wankus

    Markus Wankus - 2008-01-05

    Logged In: YES
    user_id=1028084
    Originator: NO

    More specifically, the error is:

    File "c:\python25\lib\site-packages\PyOpenGL-3.0.0b1-py2.5.egg\OpenGL\platform\baseplatform.py", line 234, in load
    func = functionTypeFor( self.DLL )(
    NameError: global name 'functionTypeFor' is not defined

    This can be fixed by changing the line in question from:

    func = functionTypeFor( self.DLL )(

    to:

    func = platform.PLATFORM.functionTypeFor( self.DLL )(

    Mark.

     
  • Mike C. Fletcher

    Logged In: YES
    user_id=34901
    Originator: NO

    Fixed in current CVS.

     
  • Mike C. Fletcher

    • assigned_to: nobody --> mcfletch
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks