360tv
12 years agoStreaming Star
getting a black image on roScreen
I'm getting a black square where I should be getting the image i'm trying to display.
that code runs once per 10 seconds. If I moved the draw and swap functions into an message = invalid loop, it will flicker sometimes displaying the image, but mostly not. The image is to display over a videoplayer, 95% transparent.
I'm sure it's something stupid.
screen.Clear(&h00000000)
print "overlay URL = " + device.overlayurl
http = CreateObject("roUrlTransfer")
http.SetUrl(device.overlayurl)
http.GetToFile("tmp:/overlay.png")
dfDrawImage(screen, "tmp:/overlay.png",0,0)
screen.swapbuffers()
that code runs once per 10 seconds. If I moved the draw and swap functions into an message = invalid loop, it will flicker sometimes displaying the image, but mostly not. The image is to display over a videoplayer, 95% transparent.
I'm sure it's something stupid.