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
Reply-To: <nhv@cape.com>
From: "Norman Vine" <nhv@cape.com>
To: <cygwin@sourceware.cygnus.com>
Subject: FW: glGetString ?
Date: Sat, 15 Jul 2000 09:05:13 -0400
Message-ID: <000001bfee5d$5851fa80$a837ba8c@nhv>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2232.26
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211


DJ Delorie writes:
>
>> 00000000 T _glGetString@4
>
>The "@4" implies that it's a WINAPI function, which means it's
>*critical* that you include the right headers.  Find the prototype for
>glGetString and make sure (1) it's WINAPI (or some equivalent), and
>(2) that it's included by your program.

BINGO !!

please change line 1749 of the distributed GL/gl.h 
from
   extern const GLubyte * glGetString (GLenum name);
to
   extern const APIENTRY GLubyte * glGetString (GLenum name);

Thanks

Norman


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

