diff --git a/dlls/d3drm/meshbuilder.c b/dlls/d3drm/meshbuilder.c index c46b1a090b9..fdab66fa67a 100644 --- a/dlls/d3drm/meshbuilder.c +++ b/dlls/d3drm/meshbuilder.c @@ -1273,6 +1273,8 @@ HRESULT load_mesh_data(IDirect3DRMMeshBuilder3* iface, LPDIRECTXFILEDATA pData) values = (float*)ptr; + IDirect3DRMMeshBuilder3_SetColorRGB(iface, values[0], values [1], values[2]); /* Alpha ignored */ + IDirect3DRMMaterial2_SetAmbient(material, values[0], values [1], values[2]); /* Alpha ignored */ IDirect3DRMMaterial2_SetPower(material, values[4]); IDirect3DRMMaterial2_SetSpecular(material, values[5], values[6], values[7]);