PGP libGL port fixings

Published: July 2011

Here is my late contribution to PSP scene. Better late than never though.

The changes are basically three:

  • Added DXT texture support with the code necessary to compress and transform the textures (look at image_DXT.c and glTexImage2D.c).
  • Fixed a problem with VBOs and vertices offsets (look at pspgl_varray_draw.c and/or search of "using_vbo" in the sources).
  • Fixed some VFPU errors, you can search them using svn diff.

This is the code used in Toy Wars, so it should work.

Hope it helps someone, as the author didn't seem interested and the source seems no longer available.

Download link: pspgl_davidgf_fixes.tar.bz2