[fpc-pascal] Loading PNG files as OpenGL textures

Reimar Grabowski reimgrab at web.de
Mon Oct 12 15:39:00 CEST 2015


On Sun, 11 Oct 2015 16:36:56 +0700
Ryan Joseph <ryan at thealchemistguild.com> wrote:

> is there any more complete examples I could look at?

http://sourceforge.net/p/asmoday/code/HEAD/tree/trunk/asmtypes.pas#l203

Not an example but a straightforward texture class implementation based on TFPCustomImage. Should work as is for bmp, jpg, png, tga, xpm, if not drop me a line.

hih
R.



More information about the fpc-pascal mailing list