Ignore:
Timestamp:
07/19/05 17:39:30 (19 years ago)
Author:
mattausch
Message:

added iv-reader library, testing code, and resources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/work/ogre_changes/RenderSystems/Direct3D9/src/OgreD3D9RenderWindow.cpp

    r171 r183  
    366366                md3dpp.BackBufferHeight                 = mHeight; 
    367367#ifdef GTP_VISIBILITY_MODIFIED_OGRE 
    368         md3dpp.Flags |= D3DPRESENTFLAG_LOCKABLE_BACKBUFFER; 
     368        //md3dpp.Flags |= D3DPRESENTFLAG_LOCKABLE_BACKBUFFER; 
    369369#endif 
    370370                if (mVSync) 
     
    938938                // this will be the dimensions of the front buffer 
    939939                if (FAILED(hr = mpD3DDevice->GetDisplayMode(0, &dm))) 
    940                         OGRE_EXCEPT(hr, "Can't get display mode!", "D3D9RenderWindow::writeContentsToFile"); 
     940                        OGRE_EXCEPT(hr, "Can't get display mode!", "D3D9RenderWindow::getBufferContents"); 
    941941 
    942942                desc.Width = dm.Width; 
     
    951951                                                NULL))) 
    952952                { 
    953                         OGRE_EXCEPT(hr, "Cannot create offscreen buffer 1!", "D3D9RenderWindow::writeContentsToFile"); 
     953                        OGRE_EXCEPT(hr, "Cannot create offscreen buffer 1!", "D3D9RenderWindow::getBufferContents"); 
    954954                } 
    955955 
     
    971971                        desc.Format = D3DFMT_A8R8G8B8;         // this is what we get from the screen, so stick with it 
    972972 
    973                         // NB we can't lock the back buffer direct because it's no created that way 
     973                        // NB we can't lock the back buffer direct because it's not created that way 
    974974                        // and to do so hits performance, so copy to another surface 
    975975                        // Must be the same format as the source surface 
     
    983983                        { 
    984984                                SAFE_RELEASE(pSurf); 
    985                                 OGRE_EXCEPT(hr, "Cannot create offscreen buffer 2!", "D3D9RenderWindow::writeContentsToFile"); 
     985                                OGRE_EXCEPT(hr, "Cannot create offscreen buffer 2!", "D3D9RenderWindow::getBufferContents"); 
    986986                        } 
    987987 
     
    991991                                SAFE_RELEASE(pTempSurf); 
    992992                                SAFE_RELEASE(pSurf); 
    993                                 OGRE_EXCEPT(hr, "Cannot update surface!", "D3D9RenderWindow::writeContentsToFile"); 
     993                                OGRE_EXCEPT(hr, "Cannot update surface!", "D3D9RenderWindow::getBufferContents"); 
    994994                        } 
    995995 
     
    10031003                        D3DLOCK_READONLY | D3DLOCK_NOSYSLOCK))) 
    10041004                { 
    1005                         OGRE_EXCEPT(hr, "can't lock rect!", "D3D9RenderWindow::writeContentsToFile"); 
     1005                        OGRE_EXCEPT(hr, "can't lock rect!", "D3D9RenderWindow::getBufferContents"); 
    10061006                }  
    10071007 
Note: See TracChangeset for help on using the changeset viewer.