Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/tests/surface.c:
trace("Failed to get compressed surface description, hr %#lx.\n", hr);
return;
- }
- hr = IDirect3DDevice9_CreateOffscreenPlainSurface(device, desc.Width, desc.Height, D3DFMT_A8R8G8B8, D3DPOOL_SYSTEMMEM,
&rb->surface, NULL);
- if (FAILED(hr))
- {
trace("Can't create the decompressed surface, hr %#lx.\n", hr);
return;
- }
- hr = D3DXLoadSurfaceFromSurface(rb->surface, NULL, NULL, compressed_surface, NULL, NULL, D3DX_FILTER_NONE, 0);
- if (FAILED(hr))
- {
trace("Can't load the decompressed surface surface, hr %#lx.\n", hr);
Doubled "surface".