Matteo Bruni (@Mystral) commented about dlls/d3dx10_43/tests/d3dx10.c:
- hr = D3DX10CreateEffectFromMemory(NULL, 0, NULL, NULL, NULL, NULL,
0x0, 0x0, device, NULL, NULL, &effect, &errors, NULL);
- ok(hr == E_FAIL, "Got unexpected hr %#lx.\n", hr);
- ok(errors == (ID3D10Blob *)0xdeadbeef, "Got unexpected errors %p.\n", errors);
- ok(effect == (ID3D10Effect *)0xdeadbeef, "Got unexpected effect %p.\n", effect);
- /* Test NULL device. */
- errors = (ID3D10Blob *)0xdeadbeef;
- effect = (ID3D10Effect *)0xdeadbeef;
- hr = D3DX10CreateEffectFromMemory(test_fx, sizeof(test_fx), NULL, NULL, NULL, NULL,
0x0, 0x0, NULL, NULL, NULL, &effect, &errors, NULL);
- ok(hr == E_FAIL, "Got unexpected hr %#lx.\n", hr);
- ok(errors == (ID3D10Blob *)0xdeadbeef, "Got unexpected errors %p.\n", errors);
- ok(effect == (ID3D10Effect *)0xdeadbeef, "Got unexpected effect %p.\n", effect);
- /* Test creating texture from compiled shader. */
Typo "texture" instead of "effect" (or something) here and in many other comments.