Hi Attached is a patch for glext unit that adds many new extensions and features for OpenGL 1.4, 1.5 and 2.0.
This is based on newest sources of glext unit from jedi-sdl, that is in turn based on Tom Nuydens OpenGL headers from [http://www.delphi3d.net/dot/]... which is to say, it's not my work, I only compared and applied all updates back to FPC OpenGL units (that were originally based on Tom's code too). Demo of using the OpenGL 2.0 shaders, by Dean Ellis, may be found inside jedi-sdl CVS sources ([http://jedi-sdl.cvs.sourceforge.net/jedi-sdl/JEDI-SDLv1.0/Demos/3D/BasicShader/] via viewvc). This works with FPC OpenGL headers after applying the attached patch, I tested under Linux and Windows. It also works with jedi-sdl OpenGL headers --- after applying this patch jedi-sdl and FPC OpenGL headers should be quite synchronized. Michalis
p.patch.gz
Description: GNU Zip compressed data
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel