What I'm using:
Borland C++ Builder3
DirectX 7.0
*new Diamond drivers (they're the problem)
The current program I'm working on worked fine until I got some new drivers for my V770 card(the drivers work great for everything but my app).
What I have are 2 builder forms in my app:
1 for the main windows controls and stuff, and 1 for the directdraw surface.
When I use my clearscreen() function, there's a lot of tearing of the screen. To try to detect what the hell was going on, I made it so the form's color incremented with each frame. This revealed to me that the OnPaint must be trying to paint over my DDPrimary surface function because the screen(the torn part) started changing color with each frame.
So does anybody have any experience with this?
(I don't want to hear "go back to your old drivers", because the problem needs to be eradicated in case this persists on other systems).
Thanks for any input.
------------------
When life hands you lemons, throw them at God's head.