Henri Verbeet : d2d1: Don' t pass NULL resource data to ID3D10Device_CreateTexture2D().