Page 1 of 1

Hardware doublebuffer text output

Posted: Mon Nov 27, 2017 11:46 pm
by lazi
It seems that text output on OS4 hardware doublebuffer display is somehow broken. The same commands with the GLGalore plugin works good.

The native Hollywood hardware double buffer:

Code: Select all

BeginDoubleBuffer(True)
SetFont(#SANS,60)
SetFontStyle(#ANTIALIAS)
SetFillStyle(#FILLCOLOR)
Box(10,10,600,40,#BLUE)

TextOut(200,16,"Hollywood",{color=#RED})

Flip
WaitLeftMouse              
Image

GlGalore hardware doublebuffer:

Code: Select all

@REQUIRE "glgalore.hwp"

BeginDoubleBuffer(True)
SetFont(#SANS,60)
SetFontStyle(#ANTIALIAS)
SetFillStyle(#FILLCOLOR)
Box(10,10,600,40,#BLUE)

TextOut(200,16,"Hollywood",{color=#RED})

Flip
WaitLeftMouse           
Image

Re: Hardware doublebuffer text output

Posted: Tue Nov 28, 2017 7:46 pm
by airsoftsoftwair
Fixed... thanks for the report!

Code: Select all

- Fix: Sometimes there were refresh problems when drawing non-formatted text to a double buffer