1. Jason McKesson
  2. glLoadGen
  3. Issues
Issue #28 resolved

MacOS / WGL

Lorcan Mc Donagh
created an issue

The wiki example for MacOS doesn't work in 1.0.3:

lua LoadGen.lua core_3_2 -style=pointer_c -spec=gl -version=3.2 -profile=core -stdext=gl_ubiquitous.txt -stdext=gl_macosx_3_2.txt

the following error is displayed The following extensions are not in the spec gl: APPLE_container_object_shareable and no output file is created.

The same happens when using -stdext=wgl_common.txt with -spec=gl (works with -spec=wgl)

Comments (3)

  1. Jason McKesson repo owner

    My apologies for the delay in responding; I was elsewhere.

    I'm sorry for the error; I don't have access to Mac OSX, so I simply copied the extension list from Apple's site. APPLE_container_object_shareable is not in the OpenGL registry. And all of the extensions that this tool supports come from the registry.

    A fix for this has been checked in (changelist 490e028), but it's easy enough for you to simply remove the offending extension.

    The same happens when using -stdext=wgl_common.txt with -spec=gl (works with -spec=wgl)

    This is as it should be. That extension doesn't exist in the OpenGL specification; it's part of the WGL specification. WGL and OpenGL are separate (though obviously related) specifications. WGL has its own list of extensions, which differ from OpenGL's list.

  2. Log in to comment