#34 Forward compatible version


Would it be possible to make a forward compatible version of GLEW, which only defines and initializes entry points and constants which are not deprecated in the given version (could be an extra option for the auto scripts, also extensions which depend on deprecated features would have to be removed))? This would be helpful in creating GL3-compliant programs and would reduce initialization times etc.


  • Stephane Denis

    Stephane Denis - 2009-08-15

    This is already done, by _glewInit_GLEW_VERSION_3_0

    However the current version is buggy

    • Some functions entry point are missing (like GL_ARB_framebuffer_object).
    • It tries to initialize GL_VERSION_1_2 - 1_5
  • l0calh05t

    l0calh05t - 2009-11-15

    Do you mean _glewInit_GL_VERSION_3_0 ? That only intializes the additional entry points. Forward compatible means a version which only defines the non-deprecated functions. This would require an additional generator script (but would result in smaller code, since quite a lot would be removed)

  • Borislav Trifonov

    But _glewInit_GLEW_VERSION_3_0 deals with only part of the original poster's request: not initializing deprecated functionality. However, they are still defined. I think what is needed is a version that is based off the definitions in gl3.h + extensions that don't depend on deprecated stuff.

  • Nigel Stewart

    Nigel Stewart - 2016-07-09
    • status: open --> closed
    • assigned_to: Nigel Stewart
    • Group: --> 2.0.0
  • Nigel Stewart

    Nigel Stewart - 2016-07-09

    Implemented in the upcoming 2.0.0 release of GLEW. Closing this.


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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks