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。
是否是两次调用BeginScene而第一次没有调用EndScene。
解决方案 »
- VC++的确定领域问题??
- 后台线程同主界面线程通信的问题
- 压缩时往文件写入ascii码,读不出'出车',但用VC看到的确有回车
- VC++大问题。。。求教!
- MSDN中文版出来没有啊?我说的是开发工具,不是网站!
- 如何写plugin程序---请给个建议
- 在菜单里增加了一个子菜单,debug时没有显示,release模式却能正常显示.真是奇怪??
- 怎樣編寫一個二進制文件的編輯器?
- (char)8指的是什么符号?回车符?还是。。。
- ::SendMessage((HWND)AfxGetMainWnd(),WM_PAINT,0,0);中的 :: 是什么意思? 谢谢!!
- 在MFC中可以加载非.bmp格式的图片吗?怎样载入?
- 找高手开发一拼接软件,有兴趣者详谈
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