IVideoDriver::getOcclusionQueryResult works now with const node pointer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6401 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@@ -1994,7 +1994,7 @@ void CNullDriver::updateAllOcclusionQueries(bool block)
|
||||
/** Return value is the number of visible pixels/fragments.
|
||||
The value is a safe approximation, i.e. can be larger then the
|
||||
actual value of pixels. */
|
||||
u32 CNullDriver::getOcclusionQueryResult(scene::ISceneNode* node) const
|
||||
u32 CNullDriver::getOcclusionQueryResult(const scene::ISceneNode* node) const
|
||||
{
|
||||
return ~0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user