Hello Lord Satan

uses
  ...gl, glext...

...
  if not Load_GL_version_2_0 then begin
    writeln('OpenGL 2.0 is not supported');
    Halt;
  end;
...

Load_GL_version_2_0 function is declared at glext unit.
you should call it before calling ANY 2.0 OpenGL function.
also check out functions result, to see if an opengl driver supports
2.0 version.
ANY OS must call it (both Linux and OSX), otherwise function variables
are not initialized!


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

Reply via email to