Can DisplayBrushFX be used with RebelSDL?

Discuss about plugins that don't have a dedicated forum
Post Reply
Bugala
Posts: 1436
Joined: Sun Feb 14, 2010 7:11 pm

Can DisplayBrushFX be used with RebelSDL?

Post by Bugala »

When trying to use RebelSDL, it keeps complaining "Hardware brushes cannot be used here!" on line I am using DisplayBrushFX()

is this because RebelSDL cant use DisplayFX command, or am I just missing doing something?

searching for DisplayBrushFX in RebelSDL manual gave me no hits, nor did I notice a mention of it there.
plouf
Posts: 740
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Can DisplayBrushFX be used with RebelSDL?

Post by plouf »

Dont try but i think hollywood main maual, claim that hardware brush ONLY can be drawn and no other effect is possible with them, shall apply here as well

https://hollywood-mal.com/docs/html/hol ... hNote.html
Christos
Bugala
Posts: 1436
Joined: Sun Feb 14, 2010 7:11 pm

Re: Can DisplayBrushFX be used with RebelSDL?

Post by Bugala »

Thanks. Didnt realise to check from Hollywoods own hardware brushes section, only looked from RebelSDL manual.

Although doesnt specifically mention DisplayBrushFX command, I however think it is included in the "Nothing else can be done with hardware brushes than drawing them to a hardware-accelerated double buffer. That is why almost all functions of the brush library will not work with hardware brushes."

This is good. I will now change the code accordingly. For I was originally using DisplayBrushFX bit as a hack anyway, just to get it easily done, but I can do it some other way too. Just didnt want to start changing the code before I knew that problem was with the command itself, and not in something easy that I need to do first when using it.
Post Reply