Radar Trouble

Blitz3D Forums/Blitz3D Beginners Area/Radar Trouble

Im making a radar for my RTS and having trouble.
I create a blank image and then draw, and switch back to back buffer but nothing apears on the screen. Here are my two functions.

This ones outside of the main loop
;Creates and manages radar
Function CreateRadar()
radar = CreateImage(radarwidth,radarheight)
End Function

This ones inside the main loop but after update world and render world
;updates radar
Function UpDateRadar()
SetBuffer ImageBuffer(radar)
Color 0,0,0;make radar black
Rect 0,0,radarwidth,radarheight,1
Color 255,255,255;reset color back to white
SetBuffer BackBuffer()
DrawImage radar,10,578
End Function

Please help thanks
ben

Flip?

When created, the image is black. Then you are drawing a black rectangle on it. Maybe it works, but it just doesn't show ?

OOO thats right because it automaticlly masks(stupid on my part)
Thanks a lot