Fixed QueryInterface functions for IDirect3D 1 and 2.

1 file changed