How can I display a 24 bit rgba bitmap (using alpha channel) on the screen using raster coordinates?
I already got a code like that:
GLubyte A[1][13] = { {0x00, 0x00, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0xc3, 0xc3, 0xc3, 0x66, 0x3c, 0x18}};
glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
glRasterPos2i(x_pos, y_pos);
glColor3f(1, 1, 1);
glBitmap(8, 13, 0.0, 0.0, 0.0, 0.0, A[0]);
but I’m not sure how to use a 24 bit bitmap instead of a b/w bitmap…
Can anyone help me?