FW: glGetString ?

Norman Vine nhv@cape.com
Sat Jul 15 06:32:00 GMT 2000


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



More information about the Cygwin mailing list