Module: wine Branch: master Commit: ff0e82502f003c55b027b8fa9e009b2ecdeb8e8b URL: http://source.winehq.org/git/wine.git/?a=commit;h=ff0e82502f003c55b027b8fa9e...
Author: Christian Costa titan.costa@gmail.com Date: Sun Oct 21 14:51:17 2012 +0200
d3drm: Fix wrong condition.
---
dlls/d3drm/meshbuilder.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3drm/meshbuilder.c b/dlls/d3drm/meshbuilder.c index 455bb32..79b5d74 100644 --- a/dlls/d3drm/meshbuilder.c +++ b/dlls/d3drm/meshbuilder.c @@ -1243,7 +1243,7 @@ HRESULT load_mesh_data(IDirect3DRMMeshBuilder3* iface, LPDIRECTXFILEDATA pData) if (size != data_size) WARN("Returned size %u does not match expected one %u\n", size, data_size);
- if (nb_materials > 2) + if (nb_materials > 1) { FIXME("Only one material per mesh supported, first one applies to all faces\n"); nb_materials = 1;