This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
FW: glGetString ?
- To: <cygwin at sourceware dot cygnus dot com>
- Subject: FW: glGetString ?
- From: "Norman Vine" <nhv at cape dot com>
- Date: Sat, 15 Jul 2000 09:05:13 -0400
- Reply-To: <nhv at cape dot com>
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