> I am just trying to understand the
> limitations of the bindings as there seems to be no documentation.
The binding treats OpenGL versions in the same way as any other extension.
Only new version function are loaded on demand. This makes the binding
very *flexible*.
Because some obsolete functions might be removed in future OpenGL versions.

Instead of changing the binding, why don't you just declare a single
utility function for your needs?

function Load_required_GL_version: Boolean;
begin
  Result := Load_GL_version_1_2 and
            Load_GL_version_1_3 and
            Load_GL_version_1_4 and
            Load_GL_version_1_5 and
            // add any other extension you might need here
            // load_GL_ARB_vertex_buffer_object and
            Load_GL_version_2_0;
end;

Chaning the binding might also break some existing code written with using it.

thanks,
dmitry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to