Changeset 166 for trunk/VUT/work/ogre_changes
- Timestamp:
- 07/11/05 17:47:47 (20 years ago)
- Location:
- trunk/VUT/work/ogre_changes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/ogre_changes/Plugins/OctreeSceneManager/src/OgreOctreeNode.cpp
r153 r166 170 170 void OctreeNode::getRenderOperation( RenderOperation& rend ) 171 171 { 172 #ifdef GTP_VISIBILITY_MODIF ED_OGRE172 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 173 173 /*static SubMesh* pSubMesh = 0; 174 174 -
trunk/VUT/work/ogre_changes/RenderSystems/Direct3D9/src/OgreD3D9RenderWindow.cpp
r153 r166 365 365 md3dpp.BackBufferWidth = mWidth; 366 366 md3dpp.BackBufferHeight = mHeight; 367 367 #ifdef GTP_VISIBILITY_MODIFIED_OGRE 368 md3dpp.Flags |= D3DPRESENTFLAG_LOCKABLE_BACKBUFFER; 369 #endif 368 370 if (mVSync) 369 371 md3dpp.PresentationInterval = D3DPRESENT_INTERVAL_ONE; … … 951 953 } 952 954 953 if (FAILED(hr = mpD3DDevice->GetFrontBufferData(0, pTempSurf))) 955 //if (FAILED(hr = mpD3DDevice->GetFrontBufferData(0, pTempSurf))) 956 if (FAILED(hr = mpD3DDevice->GetBackBuffer(0, 0, D3DBACKBUFFER_TYPE_MONO, &pTempSurf))) 954 957 { 955 958 SAFE_RELEASE(pTempSurf); 956 OGRE_EXCEPT(hr, "Can't get front buffer!", "D3D9RenderWindow::writeContentsToFile");959 OGRE_EXCEPT(hr, "Can't get back buffer!", "D3D9RenderWindow::getBufferContents"); 957 960 } 958 961 … … 1055 1058 } 1056 1059 1060 pTempSurf->UnlockRect(); 1057 1061 SAFE_RELEASE(pTempSurf); 1058 1062 SAFE_RELEASE(pSurf);
Note: See TracChangeset
for help on using the changeset viewer.