Still not sure what the problem is caused by, but rotated surfaces in Win32 cause a green line to be formed around the rotated surfaces. However, the release mode DirectX October 2006 SDK does not have this problem. This is just a friendly note to anyone who stumbles on the same problem. It is only reproducable on some ATI cards on Win32 using debug mode DX9.