Re: [fpc-pascal] GLExt crashing

2016-01-29 Thread Reimar Grabowski
On Fri, 29 Jan 2016 11:30:25 +0700 Ryan Joseph wrote: > Is it available in any version before 2.0 do you know? No. > I don’t know much about OpenGL but there is a 1.5 version also which maybe > has it. Of course it has it but it is OpenGL 1.5 not OpenGL ES 1.5. > I found this page also which

Re: [fpc-pascal] GLExt crashing

2016-01-29 Thread Michalis Kamburelis
Ryan Joseph wrote: > Is it available in any version before 2.0 do you know? I don’t know > much about OpenGL but there is a 1.5 version also which maybe has > it. > Before OpenGLES version 2.0 (shader pipeline), you only have OpenGLES 1.1 and OpenGLES 1.0. See https://en.wikipedia.org/wiki/OpenGL

Re: [fpc-pascal] GLExt crashing

2016-01-29 Thread Ryan Joseph
Thanks for your response. I’m seeing the method glBlendEquationOES in Apple’s headers so I assume this is available in the OpenGLES framework included with iOS (8.0 at least). Not sure how to load the extension though... I’ll probably just deal with the default blending equation until I can im

Re: [fpc-pascal] GLExt crashing

2016-01-28 Thread Ryan Joseph
Is it available in any version before 2.0 do you know? I don’t know much about OpenGL but there is a 1.5 version also which maybe has it. I found this page also which suggests it exists on some 1.x version. http://stackoverflow.com/questions/17457327/blending-issue-porting-from-opengles-1-0-to-2

Re: [fpc-pascal] GLExt crashing

2016-01-28 Thread Michalis Kamburelis
Ryan Joseph wrote: > I’m using OpenGLES 1.1 because it was easier to learn but I don’t see > glBlendEquation being included in the GLES11 unit. Maybe it didn’t > exist until OpenGLES 2.0? > Indeed, glBlendEquation is simply not available in OpenGLES 1.1. See the specs: https://www.khronos.org/op

Re: [fpc-pascal] GLExt crashing

2016-01-28 Thread Ryan Joseph
Thanks I didn’t know any loading had to be called. Does this work on OpenGLES 1.x do you know? I’m going to try this on iOS also. > On Jan 29, 2016, at 10:20 AM, Michalis Kamburelis > wrote: > > For glBlendEquation, you want to call Load_GL_version_1_2, and then > (assuming Load_GL_version_1_2

Re: [fpc-pascal] GLExt crashing

2016-01-28 Thread Ryan Joseph
I’m using OpenGLES 1.1 because it was easier to learn but I don’t see glBlendEquation being included in the GLES11 unit. Maybe it didn’t exist until OpenGLES 2.0? > On Jan 29, 2016, at 11:02 AM, Michalis Kamburelis > wrote: > > Um, GLExt is for OpenGL, it loads OpenGL extension, *not* for Ope

Re: [fpc-pascal] GLExt crashing

2016-01-28 Thread Michalis Kamburelis
Ryan Joseph wrote: > Just tested on iOS and I get that error. I think on iOS it loads from the > OpenGLES.framework and therefor this is failing. Also that load function > wasn’t available but it failed upon including the GLExt unit. > > An unhandled exception occurred at $0001000CDEF7: > Ex

Re: [fpc-pascal] GLExt crashing

2016-01-28 Thread Ryan Joseph
Just tested on iOS and I get that error. I think on iOS it loads from the OpenGLES.framework and therefor this is failing. Also that load function wasn’t available but it failed upon including the GLExt unit. An unhandled exception occurred at $0001000CDEF7: Exception: Could not load OpenGL

Re: [fpc-pascal] GLExt crashing

2016-01-28 Thread Michalis Kamburelis
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 platfor

[fpc-pascal] GLExt crashing

2016-01-28 Thread Ryan Joseph
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? Thanks. Regards, Ryan Joseph ___