Page 1 of 1

Can DisplayBrushFX be used with RebelSDL?

Posted: Wed Jul 29, 2026 4:21 pm
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.

Re: Can DisplayBrushFX be used with RebelSDL?

Posted: Wed Jul 29, 2026 9:57 pm
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

Re: Can DisplayBrushFX be used with RebelSDL?

Posted: Thu Jul 30, 2026 8:11 am
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.