If that Bitmap is used in your level later on, did you remember you have to convert it back?
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).