Henri Verbeet : ddraw: Get the texture format from the texture in d3d_device3_GetRenderState().