[fpc-pascal] GLext in Free Pascal does not work?

Michalis Kamburelis michalis.kambi at gmail.com
Thu Feb 21 00:54:43 CET 2008


Jakub Marian wrote:
> Well, glext_LoadExtension('GL_version_1_4')  was just an example, of course
> that I tried Load_GL_version_2_0 and some other functions. But I get "access
> violation" when I try to call ANY function from glext. I would understand it
> if I got just false as a return value of a function... But the program goes
> down with Access violation message written into command line window. For
> example if I call Load_GL_version_2_0, I get:
> 
> An unhandled exception occurred at $100279D9 :
> EAccessViolation : Access violation
>   $100279D9
>   $0040769D
> 

Ah, are you on x86_64 ? Then you're affected by 
[http://bugs.freepascal.org/view.php?id=10508], it's fixed in SVN.

Michalis



More information about the fpc-pascal mailing list