[fpc-pascal] Loading PNG files as OpenGL textures

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Wed Oct 14 11:59:47 CEST 2015


Hello Ryan,

On 2015-10-14 at 08:54, Ryan Joseph wrote:
> According to Reimar’s code the raw image data is sufficient for
> glTexImage2D so I wonder if the data pointer returned from BeRoPNG
> would work also?


I assume it should work. I guess there is only one way to found out. ;-)



Regards,
  - Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp




More information about the fpc-pascal mailing list