On my site it's not possible to manipulate a bitmap to use it for a video_border() call. Below a code sample:

Quote:
BMAP* bBorder512 = bmap_createblack(512, 512, 24);
var format = bmap_lock(bBorder512, 0);
bmap_fill(bBorder512, vector(255,0,0), 100);
bmap_unlock(bBorder512);
video_border(bBorder512, 10, 10, 400, 400);


The bBorder512 bitmap format changes to 32 bit (the most 3D video cards don't support the 24 bit bitmap mode). Seems this is the cause (?).

Any idea?

Last edited by DocJoe; 05/23/13 16:26.

Don't take the cake to the party.