If I set bmap_rendertarget(BmpMap,1,0); nothing is drawn.