Any particular reason for BGR(A) pixel format instead of RGB(A)?
Any particular reason for BGR(A) pixel format instead of RGB(A)?
I assume BGR(A) is used so it can match the Windows BMP format more easily :-)
cheers,
Paul
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
Yes, and D3D textures, GDI, TGA images, etc.Originally Posted by paul_nicholls
Some RGBA formats are supported too though.
Vampyre Imaging Library
Earth Under Fire (PGD Big Boss 3rd place)
Domains Of Chaos (PGD Multiplexity 5th place)
OpenGl can use this texture format easily. Caused me some trouble though, since I belong in the "If after umpteenth try it doesn't work, READ THE MANUAL AT LAST!" category. ops:
I can't use any jpeg images as textures with OpenGL, LoadGLTexture always returns 0 as the handle?
If you develop an idiot proof system, the nature develops better idiots.
Some more information please, it works for me.
Library version, OS, compiler, maybe upload on of your jpegs that doesn't work.
Other formats work ok for you?
Vampyre Imaging Library
Earth Under Fire (PGD Big Boss 3rd place)
Domains Of Chaos (PGD Multiplexity 5th place)
That was on 0.26.0, I had forgotten to update... With 0.26.2 it works just fine.
If you develop an idiot proof system, the nature develops better idiots.
This is strange... When I use the 0.26.2 version with Delphi 2007 and 2009 they both complain about memory leaks I don't even have to load any images I just have to include them in my project... I didn't have this with the old version I used.
EDIT: The actual memory leaks are not caused by Vampyre, but they are still strange and point to classes that could possible not have memory leaks (ie. TObject descendant with one LongWord public variable and a few methods etc.)...
If you develop an idiot proof system, the nature develops better idiots.
Bookmarks