-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2015-02-10 um 20:14 schrieb Matteo Bruni:
- hr = IDirect3DDevice9Ex_CreateTexture(device, 33, 33, 1, 0, D3DFMT_L8,
D3DPOOL_SYSTEMMEM, &texture, &mem);
...
- hr = IDirect3DDevice9Ex_SetTexture(device, 0, (IDirect3DBaseTexture9 *)texture);
- ok(SUCCEEDED(hr), "SetTexture failed (0x%08x)\n", hr);
Am I missing something, or are you texturing from system memory here? I am surprised this is working. I'll test it on my collection of Windows boxes to be sure.
I think it would be a good idea to test the UpdateTexture / UpdateSurface codepath with user memory textures and a strange pitch like in your test. This doesn't have to be part of this patch though.