maxxoros
26-10-2005 17:59:07
---
I am using Ogre Azathoth 1.0 (release in June)...
I follow the guide here
http://www.ogre3d.org/wiki/index.php/Pa ... .1_Install
but when I compiled, I gots problem with isQueryStillOutStanding function
I found a document here
http://www.ogre3d.org/phpBB2/viewtopic. ... ng&start=0
but when I add these code, I got new problem with variable in this code
NumOfFragments is unknown and ID is the same
---
Could anyone tell me what s this problem...Does this mean I must re-compile ogre 1.0.5 Release Name: 1.0.5
Codename: Azathoth
Release Date: 25 September 2005
I am using Ogre Azathoth 1.0 (release in June)...
I follow the guide here
http://www.ogre3d.org/wiki/index.php/Pa ... .1_Install
but when I compiled, I gots problem with isQueryStillOutStanding function
I found a document here
http://www.ogre3d.org/phpBB2/viewtopic. ... ng&start=0
but when I add these code, I got new problem with variable in this code
NumOfFragments is unknown and ID is the same
//------------------------------------------------------------------
virtual bool HardwareOcclusionQuery::isStillOutStanding () = 0;
//------------------------------------------------------------------
bool D3D9HardwareOcclusionQuery::isStillOutStanding ()
{
if(mHasOcclusionSupport)
{
DWORD d3dFlags = 0;// not asking for flushed queries here.
if (mpQuery->GetData( NumOfFragments, sizeof( NumOfFragments ), d3dFlags) == S_FALSE)
return true;
mPixelCount = *NumOfFragments;
return false;
}
else
{
return false;
}
}
//------------------------------------------------------------------
bool GLHardwareOcclusionQuery::isStillOutStanding ()
{
if(mHasOcclusionSupport)
{
GLint available;
glGetQueryObjectivARB(id, GL_QUERY_RESULT_AVAILABLE_ARB, &available);
return !(TRUE == available);
}
else
{
return false;
}
}
---
Could anyone tell me what s this problem...Does this mean I must re-compile ogre 1.0.5 Release Name: 1.0.5
Codename: Azathoth
Release Date: 25 September 2005