|
|
- hr=pd3dDevice->SetRenderState( D3DRS_CULLMODE , D3DCULL_CCW );
- DWORD value=0;
- hr=pd3dDevice->GetRenderState(D3DRS_CULLMODE,&value);//-2005530516
复制代码
我想以GetRenderState?得目前的CullMode,但是GetRenderState函式回?鞯?抵凳?2005530516.
hr=-2005530516
HRESULT: 0x8876086c (2289436780)
Name: D3DERR_INVALIDCALL
Description: Invalid call
Severity code: Failed
Facility Code: FACILITY_D3D (2166)
Error Code: 0x086c (2156)
?有出?一些???息如下:
Direct3D9: (ERROR) :GetRenderState does not work in pure-device
Windows has triggered a breakpoint in Shadow Map.exe.
This may be due to a corruption of the heap, and indicates a bug in Shadow Map.exe or any of the DLLs it has loaded.
The output window may have more diagnostic information
|
|