Copying Hardware brush

Discuss any general programming issues here
Post Reply
User avatar
lazi
Posts: 650
Joined: Thu Feb 24, 2011 11:08 pm

Copying Hardware brush

Post by lazi »

I found that CopyBrush fails if the source brush is in video memory (hardware brush).
So if we need the same brush in two display format in the same program we should load two copies of it, or load first the normal one.

If it is correct, please Andreas insert a line about this into the guide.

Bye
User avatar
airsoftsoftwair
Posts: 5887
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Copying Hardware brush

Post by airsoftsoftwair »

Yes, that's currently not possible but it is planned for the future.
User avatar
airsoftsoftwair
Posts: 5887
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Copying Hardware brush

Post by airsoftsoftwair »

I have to correct myself here: It is possible to make a copy of a hardware brush. You just have to set the "Hardware" tag to TRUE in the optional table argument. Then it will work.
Post Reply