[fpc-pascal] GLExt crashing

Michalis Kamburelis michalis.kambi at gmail.com
Fri Jan 29 04:20:11 CET 2016


Ryan Joseph wrote:
> Functions like glBlendEquation from GLExt are crashing (access violation) compiling on Mac with ppc386. The functions didn’t get loaded I think for some reason.
> 
> Is this is known problem on Mac with a work around perhaps?
> 

GLExt works fine on Mac (and other platforms) in my experience. You just
have to load the necessary OpenGL version (or extension) first.

For glBlendEquation, you want to call Load_GL_version_1_2, and then
(assuming Load_GL_version_1_2 returned true) glBlendEquation will be
non-nil and will work OK.

Regards,
Michalis



More information about the fpc-pascal mailing list