[fpc-pascal] GLExt crashing
michalis.kambi at gmail.com
Fri Jan 29 05:02:10 CET 2016
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 $00000001000CDEF7:
> Exception: Could not load OpenGL from /System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib
Um, GLExt is for OpenGL, it loads OpenGL extension, *not* for OpenGLES.
For Android and iOS, use GLES20 unit. My Castle Game Engine uses this
for Android and iOS and it works cool:)
More information about the fpc-pascal