> On May 25, 2017, at 7:02 PM, Anthony Walter <sys...@gmail.com> wrote: > > Ryan, > > Are you loading the OpenGL API functions using SDL_GL_GetProcAddress? You > really should be doing that or you're asking for problems. > > Anyways, if you want maximum capability you should probably use ES version 2, > as it's supported on the most devices. It requires you to drop the fixed > function pipeline, that is dropping glBegin/glEnd and using GLSL vertex and > fragment shaders. It's mostly like OpenGL 2.0, with a few differences, like > there is no glMatrixMode. >
I loaded the functions using Load_GL_VERSION_3_3 (and similar) from the Free Pascal RTL and it seems to correctly load the functions. Right now I’m using 2.1 and the fixed pipeline because I don’t really need shaders but I’m learning shaders and matrix transforms now so if there’s any performance benefit I can update my code base. Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal