delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/15/09:33:01

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
Reply-To: <nhv AT cape DOT com>
From: "Norman Vine" <nhv AT cape DOT com>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: FW: glGetString ?
Date: Sat, 15 Jul 2000 09:05:13 -0400
Message-ID: <000001bfee5d$5851fa80$a837ba8c@nhv>
MIME-Version: 1.0
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 AT 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 AT sourceware DOT cygnus DOT com

- Raw text -


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