Matteo Bruni (@Mystral) commented about dlls/d3dx10_43/tests/d3dx10.c:
+static struct data_object* data_object_from_ID3DX10DataLoader(ID3DX10DataLoader *iface) +{
- return CONTAINING_RECORD(iface, struct data_object, ID3DX10DataLoader_iface);
+}
+static LONG data_loader_load_count; +static WINAPI HRESULT data_loader_Load(ID3DX10DataLoader *iface) +{
- struct data_object *data_object = data_object_from_ID3DX10DataLoader(iface);
- DWORD ret;
- ok(InterlockedDecrement(&data_loader_load_count) >= 0, "unexpected call\n");
- if (io_tid)
io_tid = GetCurrentThreadId();
Was the condition meant to be reversed?