I could imagine just about any of 'em. Out of memory is pretty obvious. Not available if some ill-formed code elsewhere perhaps trashed my handle to the device; same with device lost. I'm not sure...
Type: Posts; User: tabstop
I could imagine just about any of 'em. Out of memory is pretty obvious. Not available if some ill-formed code elsewhere perhaps trashed my handle to the device; same with device lost. I'm not sure...
The function returning an error code is GR_Direct3D.CreateDevice. Looking at this on MSDN gives a list of possible error return codes, specifically, D3DERR_DEVICELOST, D3DERR_INVALIDCALL,...
If you can dig up a copy of d3d9.h (or whatever the correct directx header is), you might be able to at least determine what that error code is.