diff options
author | Loren Shih <seraph@lindenlab.com> | 2011-01-05 15:10:31 -0500 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2011-01-05 15:10:31 -0500 |
commit | df1c6d2a2e4ccfe7bd19a66ba95c4f7bc6edee5e (patch) | |
tree | 5d278369af1ba0ee4e75868b676b486009dbace2 /indra/newview/llspatialpartition.h | |
parent | 02783213455418a509994df16f9250b05753c183 (diff) | |
parent | dfddccd65da32ac2c11c9106c3995a3281d7c30d (diff) |
Automated merge from mesh-development
Diffstat (limited to 'indra/newview/llspatialpartition.h')
-rw-r--r-- | indra/newview/llspatialpartition.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llspatialpartition.h b/indra/newview/llspatialpartition.h index 16ec9f780b..85fd66b297 100644 --- a/indra/newview/llspatialpartition.h +++ b/indra/newview/llspatialpartition.h @@ -59,7 +59,8 @@ S32 AABBSphereIntersectR2(const LLVector3& min, const LLVector3& max, const LLVe void pushVerts(LLFace* face, U32 mask); // get index buffer for binary encoded axis vertex buffer given a box at center being viewed by given camera -U8* get_box_fan_indices(LLCamera* camera, const LLVector4a& center); +U32 get_box_fan_indices(LLCamera* camera, const LLVector4a& center); +U8* get_box_fan_indices_ptr(LLCamera* camera, const LLVector4a& center); class LLDrawInfo : public LLRefCount { @@ -393,7 +394,7 @@ public: LLSpatialPartition* mSpatialPartition; LLPointer<LLVertexBuffer> mVertexBuffer; - LLVector4a* mOcclusionVerts; + LLPointer<LLVertexBuffer> mOcclusionVerts; GLuint mOcclusionQuery[LLViewerCamera::NUM_CAMERAS]; U32 mBufferUsage; |