It works perfectly in Windows, but doesn't seem to work in Mac osx. Here's the relevant part of the code:
Code: Select all
; this gets called with a timer event
If StartDrawing(WindowOutput(window_0))
DrawingMode(#PB_2DDrawing_AlphaBlend)
For i = 0 To 255
DrawAlphaImage(ImageID(img), 0,0, i)
Next
StopDrawing()
EndIf
Code: Select all
DrawingMode(#PB_2DDrawing_Default)
DrawImage(ImageID(img), 0,0)
Is it a bug in the Mac compiler or am I doing something wrong?
thanks,
Russ
