The rotated brush does not displayed on the GLGalore display.
Tested on OS4 and MOS and the results are the same.
Here is a test script.
Code: Select all
@REQUIRE "glgalore.hwp"
@DISPLAY {mode="windowed", title="test", borderless=False, width=800, height=600, nomodeswitch=False}
CreateBrush(101,600,120,#RED,{hardware=True})
CreateBrush(100,120,600,#RED,{hardware=True})
RotateBrush(101,0)
BeginDoubleBuffer(True)
game={
scroll = 0,
}
Function p_draw()
Cls
game.scroll=Wrap(game.scroll-1,0,600)
DisplayBrush(101,384,game.scroll)
DisplayBrush(101,384,game.scroll-599)
DisplayBrush(100,84,game.scroll)
DisplayBrush(100,84,game.scroll-599)
Flip
EndFunction
SetInterval(1,p_draw,1000/60)
Repeat
CheckEvent
Forever