Thanks for the reply although i noticed something.
Dumb me didn’t debug enough before i posted this and i found out that the alpha channel part is actually working, but it’s the one that doesn’t have an alpha channel (GL_RGB) that’s not working. That texture just ends up grey?
Ok… i tried running my demo with MESA and it still has the same problems, so the bug must be in my code.
A can not imagine as to why gluBuild2DMipmaps works fine but glTexImage2D doesn’t when they’re using the exact same parameters. As before, the problems seems to appear with textures that have 3 bytes per pixel (RGB) but 4 bytes per pixel (RGBA) work perfectly fine.
If anyone has any suggestions as to why this happens then please let me know.