delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/12/03:31:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 12 Apr 2001 03:29:13 -0400
From: PtrPck AT netscape DOT net
Cc: cygwin AT cygwin DOT com, mingw-users AT lists DOT sourceforge DOT net
Subject: Re: [Mingw-users] Re: GL/gl.h in w32api
Mime-Version: 1.0
Message-ID: <420AFE78.032C0639.00052D98@netscape.net>
References: <4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20010411090013 DOT 00b57630 AT irispavp DOT igb DOT umontreal DOT ca> <Pine DOT SOL DOT 4 DOT 20 DOT 0104111057590 DOT 14505-100000 AT daylight DOT daylight DOT com> <20010411155155 DOT Q25082 AT redhat DOT com> <3AD4F97F DOT 8DA69DC7 AT yahoo DOT com>
X-Mailer: Franklin Webmailer 1.0

cygwin AT cygwin DOT com, Earnie Boyd <mingw-users AT lists DOT sourceforge DOT net> wrote:
>
> Christopher Faylor wrote:
> > 
> > On Wed, Apr 11, 2001 at 11:32:56AM -0600, Roger Sayle wrote:
> > >
> > >Andre Bleau wrote:
> > >> Maybe there is some misunderstanding here.  The OpenGL package for
> > >> Cygwin _already_ contains the headers for MS implementation of OpenGL
> > >> and GLU.
> > >>
> 
> I've come to the same conclusion as to about where they should be
> located.  However, I think that the OpenGL package should be what puts
> them there.  I can be convinced otherwise though.  If Andre Bleau or
> anyone else want's to consider matching lib/*.def and include/GL/*.h
> files to be included in the w32api package then please upload the
> patches with appropriate ChangeLog entries at
> https://sourceforge.net/tracker/?func=add&group_id=2435&atid=302435 and
> I'll take a look.
> 
> Earnie.

It just means trouble using OpenGL 1.2 headers with MS OpenGL 1.1
checking version at compile time does not work. 

It is also a misunderstanding that your opengl32.dll is updated. 
Even if your driver supports 1.2 will they not be loaded you have to do it
yourself with wglGetProcAddress like with extensions.

To load for example glBlendEquation do you want to have it defined like
PFNGLBLENDEQUATIONPROC glBlendEquation;
but the 1.2 header has
extern void APIENTRY glBlendEquation (GLenum mode);

MS wgl functions is GDI functions and already in wingdi.h perhaps a bad solution but that is how it works on the windows platform.

I have uploaded the headers from the SGI 1.1 OpenGL implementation together with
the extension headers glext.h and wglext.h
I recommend them instead mainly because of the above.

Peter


__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019