Server occlusion prep.
This commit is contained in:
@@ -307,15 +307,16 @@ U32 LLVOVoidWater::getPartitionType() const
|
||||
return LLViewerRegion::PARTITION_VOIDWATER;
|
||||
}
|
||||
|
||||
LLWaterPartition::LLWaterPartition()
|
||||
: LLSpatialPartition(0, FALSE, GL_DYNAMIC_DRAW_ARB)
|
||||
LLWaterPartition::LLWaterPartition(LLViewerRegion* regionp)
|
||||
: LLSpatialPartition(0, FALSE, GL_DYNAMIC_DRAW_ARB, regionp)
|
||||
{
|
||||
mInfiniteFarClip = TRUE;
|
||||
mDrawableType = LLPipeline::RENDER_TYPE_WATER;
|
||||
mPartitionType = LLViewerRegion::PARTITION_WATER;
|
||||
}
|
||||
|
||||
LLVoidWaterPartition::LLVoidWaterPartition()
|
||||
LLVoidWaterPartition::LLVoidWaterPartition(LLViewerRegion* regionp)
|
||||
: LLWaterPartition(regionp)
|
||||
{
|
||||
//mOcclusionEnabled = FALSE;
|
||||
mDrawableType = LLPipeline::RENDER_TYPE_VOIDWATER;
|
||||
|
||||
Reference in New Issue
Block a user