2015-06-12 15:24 GMT+02:00 Aaryaman Vasishta jem456.vasishta@gmail.com:
What happens if you attach a depth surface yourself before calling CreateDeviceFromSurface? Does d3drm replace it?
Tried creating a device with a surface with a depth surface attached to it, got HRESULT as 0x887602e9. The error lookup tool doesn't know what it means, nor it seems to be a d3drm error.
Grepping for 02e9 in decimal gives:
#define D3DERR_ZBUFF_NEEDS_SYSTEMMEMORY MAKE_DDHRESULT(745)
I'm not sure it makes much sense though.