It might help if I changed this for d3d9 also :p