If the method succeeds, the return value is D3D_OK. The method will fail with D3DERR_INVALIDCALL if IDirect3DDevice9::BeginScene is called while already in a IDirect3DDevice9::BeginScene/IDirect3DDevice9::EndScene pair. This happens only when IDirect3DDevice9::BeginScene is called twice without first calling IDirect3DDevice9::EndScene.
是否是两次调用BeginScene而第一次没有调用EndScene。

解决方案 »

  1.   

    Direct3D9: (ERROR) :BeginScene, already in scene. BeginScene failed. //已经调用BeginScene了????D3D9 Helper: IDirect3DDevice9::BeginScene failed: D3DERR_INVALIDCALL
    Direct3D9: (ERROR) :Present not allowed between BeginScene and EndScene. Present fails.//再EndScene前请别Present来呈现
    D3D9 Helper: IDirect3DDevice9::Present failed: D3DERR_INVALIDCALL
    Direct3D9: (ERROR) :BeginScene, already in scene. BeginScene failed.D3D9 Helper: IDirect3DDevice9::BeginScene failed: D3DERR_INVALIDCALL