Hardware doublebuffer text output

Report any Hollywood bugs here
Post Reply
User avatar
lazi
Posts: 295
Joined: Fri Feb 25, 2011 12:08 am

Hardware doublebuffer text output

Post by lazi » Tue Nov 28, 2017 12:46 am

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

User avatar
airsoftsoftwair
Posts: 2570
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany
Contact:

Re: Hardware doublebuffer text output

Post by airsoftsoftwair » Tue Nov 28, 2017 8:46 pm

Fixed... thanks for the report!

Code: Select all

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

Post Reply