Hardware doublebuffer text output

Report any Hollywood bugs here
Post Reply
User avatar
lazi
Posts: 625
Joined: Thu Feb 24, 2011 11:08 pm

Hardware doublebuffer text output

Post 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
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Hardware doublebuffer text output

Post 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
Post Reply