If that Bitmap is used in your level later on, did you remember you have to convert it back?
Originally Posted By: Manual
bmDest is automatically converted to a render target on the first call of this function. For accessing pixels of the bitmap afterwards, it can be converted back to a pixel format (bmap_to_format) or blitted onto another bitmap (bmap_blit).



Always learn from history, to be sure you make the same mistakes again...