Remove Draw text (D3D)

Posts 15 of 5 · Page 1 of 1
Remove Draw text (D3D)
I can draw texts..But how do i remove it?
Like:

DrawText(....,"ONE HIT -- ON")
2 lines down:
DrawText(....,"NO RELOAD --ON")

Now i made a function to change On to off and etc..
But when i change the On to Off...It works..But the On still behind.....
How do i remove the old text? or clear all of it to draw again?

Something like ClearScreen() XDD to clear my Drawing is there something like that?=
Code:
if(onehit)
      drawtext("one hit ON")
else
      drawtext("one hit OFF")
Not that.

u know what happens? The previous states stay behind..
I wanna clear to draw again..

Example of what happens:



@NOOB
i have wanted to know how to do this for a while but i never figured it out. I would appreciate it if someone told us how. It might have to do with invalidaterect() but idk.
Well , it works, But i thnk its not good to use that, Is there another solution?
Posts 15 of 5 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Need help?