> On Feb 20, 2018, at 4:24 AM, Jonas Maebe <jo...@freepascal.org> wrote: > > My guess is that the Load_GL_VERSION_3_3x() function is broken since it > appears to call glGetString before a context has been created, and that it > just happens to work on some (most?) implementations by pure chance.
After a context is created Load_GL_VERSION_3_3 returns false on my 2015 MacBook Pro. Load_GL_VERSION_3_2 returns true but glGetError returns GL_INVALID_ENUM directly after calling it. My system has all extensions for 3.3 so that function is indeed broken. I guess the fix for now is to use Load_GL_VERSION_3_2 and call glGetError to clear the error which is erroneous it appears. Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal