diff --git a/gfx/common/d3d_common.cpp b/gfx/common/d3d_common.cpp index 290c7016fa..66b2a7a7ef 100644 --- a/gfx/common/d3d_common.cpp +++ b/gfx/common/d3d_common.cpp @@ -57,7 +57,7 @@ LPDIRECT3DTEXTURE d3d_texture_new(LPDIRECT3DDEVICE dev, const char *path, unsigned width, unsigned height, unsigned miplevels, unsigned usage, D3DFORMAT format, D3DPOOL pool, unsigned filter, unsigned mipfilter, - D3DCOLOR color_key, D3DXIMAGE_INFO *src_info_data, + D3DCOLOR color_key, void *src_info_data, PALETTEENTRY *palette) { HRESULT hr;