Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-Id: <4.3.2.7.0.20011017112535.00b51738@irispavp.igb.umontreal.ca>
X-Sender: bleau2@irispavp.igb.umontreal.ca
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Wed, 17 Oct 2001 11:36:17 -0400
To: cygwin@cygwin.com
From: Andre Bleau <bleau@igb.umontreal.ca>
Subject: Re: opengl
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
X-MDRemoteIP: 10.52.48.85
X-Return-Path: bleau@igb.umontreal.ca
X-MDaemon-Deliver-To: cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id f9HFXrS17058


>Hi.
>
>It seems to me that the libopengl32.a doesn't support all opengl extensions,
>especially the nVidia extensions. I ran a precompiled program and it workes
>fine. Then I compiled it under cygwin and a torus that was supposed to
>reflect the environment was totally white. I also get a segemantation fault
>when trying to implement the glLockArraysEXT() extension, because the
>function sglGetProcAddress() <-(don't remember the exact name) returns
>NULL - can I make an own library from the opengl32.dll that supports all
>that stuff?
>
>cheers,
>
>Thomas Gahr

You can look at 
http://www.opengl.org/developers/code/features/OGLextensions/OGLextensions.html 
to see how to properly use OpenGL extensions.

If wglGetProcAddress("glLockArraysEXT") returns NULL, it means that that 
extension is not supported by the ICD of the graphic card on the computer 
where you are running the program. ICDs are usually installed when drivers 
for the card are installed.

Are you sure that you have the right name for the extension ? 
glLockArraysEXT does not appear in the extension registry 
(http://oss.sgi.com/projects/ogl-sample/registry/).

Good luck,


André Bleau, Cygwin's OpenGL package maintainer.

email: bleau at igb dot umontreal dot ca
(Fight SPAM: encode your email-address)



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

