Hardware doublebuffer text output

Report any Hollywood bugs here

Hardware doublebuffer text output

Postby 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
lazi
 
Posts: 281
Joined: Fri Feb 25, 2011 12:08 am

Re: Hardware doublebuffer text output

Postby 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
User avatar
airsoftsoftwair
 
Posts: 2343
Joined: Fri Feb 12, 2010 3:33 pm
Location: Germany


Return to Hollywood bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron