[PATCH 1/3] d3drm: Fix wrong condition.
Christian Costa
titan.costa at gmail.com
Sun Oct 21 07:51:17 CDT 2012
---
dlls/d3drm/meshbuilder.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the wine-patches
mailing list