• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: compiling GL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling GL


  • Subject: Re: compiling GL
  • From: Martin Costabel <email@hidden>
  • Date: Sat, 15 Feb 2003 11:47:47 +0100

John Stauffer wrote:
Change those gl calls to:

glArrayElement
glBindTexture
glDrawArrays

The EXT versions were from the OpenGL 1.0 days and aren't exported by Apple OpenGL.

If this is true, then why are they defined in the GL/gl.h and GL/glext.h header files? And why are they in XFree86-4.3.0?


I don't know much about OpenGL, but I just had a look at the geomview sources. It has the following interesting code:

#if defined(sgi) || defined(GL_EXT_texture_object) /* Might our -lGL know about EXT_texture_object? */
/* Since the SGI compiler/linkers seem to know about #pragma weak, but
* others might not, compile in EXT_texture_object support if:
* - we're on an SGI; even if compiled under Irix 5 (no EXT_texture_object),
* we might be run under a later version that does support it, and
* the "#pragma weak" lets us test at run time whether the library
* supports it;
* - or, if we're on a system that claims to support it at compile time,
* we'll just hope that that system also supports it at run time.
*/

The latter situation seems to be Apple's problem here.

--
Martin
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: compiling GL (From: John Stauffer <email@hidden>)

  • Prev by Date: Re: xterm dies if command is not PATH
  • Next by Date: Re: xterm dies if command is not PATH
  • Previous by thread: Re: compiling GL
  • Next by thread: Internatinal keyboard trouble in X11 0.2
  • Index(es):
    • Date
    • Thread