Changeset 171 for trunk/VUT/work/ogre_changes/RenderSystems/Direct3D9
- Timestamp:
- 07/13/05 00:47:40 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/ogre_changes/RenderSystems/Direct3D9/src/OgreD3D9RenderWindow.cpp
r166 r171 928 928 HRESULT hr; 929 929 LPDIRECT3DSURFACE9 pSurf=NULL, pTempSurf=NULL; 930 //IDirect3DSurface9 *pTempSurf=NULL; 930 931 D3DSURFACE_DESC desc; 931 932 D3DDISPLAYMODE dm; … … 953 954 } 954 955 955 //if (FAILED(hr = mpD3DDevice->GetFrontBufferData(0, pTempSurf)))956 if (FAILED(hr = mpD3DDevice->GetBackBuffer(0, 0, D3DBACKBUFFER_TYPE_MONO, &pTempSurf)))956 if (FAILED(hr = mpD3DDevice->GetFrontBufferData(0, pTempSurf))) 957 //if (FAILED(hr = mpD3DDevice->GetBackBuffer(0, 0, D3DBACKBUFFER_TYPE_MONO, &pTempSurf))) 957 958 { 958 959 SAFE_RELEASE(pTempSurf); … … 1058 1059 } 1059 1060 1060 1061 //pTempSurf->UnlockRect(); 1061 1062 SAFE_RELEASE(pTempSurf); 1062 1063 SAFE_RELEASE(pSurf);
Note: See TracChangeset
for help on using the changeset viewer.