#78 glInitMultitextureARB +wx returns 0 on RHLinux

v2.0.1
closed-fixed
GL (74)
4
2003-06-03
2003-05-01
No

glInitMultitextureARB() is returning a value of 0 on
RedHat Linux while the info script claims that the
extension is available (and the same machine under
Win2K does have the extension and is able to run the
same code).

This is seen in the NeHe6_multi.py OpenGLContext test.
Possibly a problem with the particular context-type
created (e.g. might be a 16-bit vs 24 or 32-bit
problem?) Might be a problem with Mesa as well.

Discussion

  • Mike C. Fletcher

    Logged In: YES
    user_id=34901

    Only does this under wxPython OpenGLContext, not under GLUT
    OpenGLContext or non-context GLUT. Likely just not
    available for the context due to mode settings or the like.
    Should find out why, but lower priority.

     
  • Mike C. Fletcher

    • priority: 5 --> 4
    • assigned_to: nobody --> mcfletch
     
  • Mike C. Fletcher

    Logged In: YES
    user_id=34901

    Just making the summary line match the current understanding
    of the bug.

     
  • Mike C. Fletcher

    • summary: glInitMultitextureARB returns 0 on RHLinux --> glInitMultitextureARB +wx returns 0 on RHLinux
     
  • Mike C. Fletcher

    Logged In: YES
    user_id=34901

    Okay, this is now fixed, though the fixes are not the most
    beautiful things in the world. Turns out that the wxPython
    wxGLCanvas only creates the actual context during a "window
    realization" callback. The fixes involved providing a new
    customization point in the context base class, and a
    specialization in the wxPython context. There is also a new
    flag in the wxPython context which provides a last resort
    attempt to initialize during the paint event. This appears
    to work in most cases, though the meta-test is showing a few
    rendering artifacts.

     
  • Mike C. Fletcher

    • status: open --> closed-fixed
     
  • Mike C. Fletcher

    Logged In: YES
    user_id=34901

    Sorry, forgot to close the ticket while I was pasting in the
    explanation.

     

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