Ignore:
Timestamp:
05/11/05 15:29:32 (20 years ago)
Author:
mattausch
Message:

exchanged halfbounding box with full bounding box

Location:
trunk/VUT/work/ogre_changes/RenderSystems
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/work/ogre_changes/RenderSystems/Direct3D9/include/OgreD3D9HardwareOcclusionQuery.h

    r88 r92  
    7171        void beginOcclusionQuery();      
    7272        void endOcclusionQuery(); 
    73         bool pullOcclusionQuery( unsigned int* NumOfFragments, const bool waitForResult ); 
     73 
     74#ifdef GTP_VISIBILITY_MODIFIED_OGRE 
    7475        bool pullOcclusionQuery( unsigned int* NumOfFragments, const bool waitForResult, 
    7576                                                         const HW_OCCLUSIONQUERY flag  );  
     77        bool pullOcclusionQuery( unsigned int* NumOfFragments, const bool waitForResult ); 
     78#else 
     79        bool pullOcclusionQuery( unsigned int* NumOfFragments ); 
     80        bool pullOcclusionQuery( unsigned int* NumOfFragments, const HW_OCCLUSIONQUERY flag  );  
     81#endif // GTP_VISIBILITY_MODIFIED_OGRE 
    7682 
    7783        unsigned int getLastQuerysPixelcount() { return m_uintPixelCount; } 
  • trunk/VUT/work/ogre_changes/RenderSystems/GL/include/OgreGLHardwareOcclusionQuery.h

    r88 r92  
    8888        void beginOcclusionQuery(); 
    8989        void endOcclusionQuery(); 
    90         bool pullOcclusionQuery( unsigned int* NumOfFragments, const bool waitForResult ); 
     90 
     91#ifdef GTP_VISIBILITY_MODIFIED_OGRE 
    9192        bool pullOcclusionQuery( unsigned int* NumOfFragments, const bool waitForResult, 
    9293                                                         const HW_OCCLUSIONQUERY flag  );  
     94        bool pullOcclusionQuery( unsigned int* NumOfFragments, const bool waitForResult ); 
     95#else 
     96        bool pullOcclusionQuery( unsigned int* NumOfFragments ); 
     97        bool pullOcclusionQuery( unsigned int* NumOfFragments, const HW_OCCLUSIONQUERY flag  );  
     98#endif // GTP_VISIBILITY_MODIFIED_OGRE 
    9399 
    94100        unsigned int getLastQuerysPixelcount() { return m_uintPixelCount; } 
Note: See TracChangeset for help on using the changeset viewer.