[fpc-pascal] glGetString crash

2018-02-17 Thread Ryan Joseph
I tried using a core OpenGL context on my old MacBook (2010) and got a crash from glGetString from the Pascal bindings (a legacy 2.x context doesn’t crash). I pulled out the related functions from glext.pp where it crashes in Load_GL_ARB_blend_func_extended from Load_GL_VERSION_3_3. It looks lik

Re: [fpc-pascal] Python interaction... how?

2018-02-17 Thread Darius Blaszyk
Thanks for the tips and hints! I found this page also explaining well on how to embed python bi-directionally in FPC. https://docs.python.org/3.4/extending/embedding.html The P4D code was very helpful as well. I stripped all the object and component code and now have a working FPC only python bind