diff options
author | Dave Parks <davep@lindenlab.com> | 2012-07-18 15:49:47 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2012-07-18 15:49:47 -0500 |
commit | cb96ab1a6fed15da0407d2aba5e9de566417088f (patch) | |
tree | f6f50c48e33ef55b92ed14e14cc875b715143b97 /indra/newview/pipeline.h | |
parent | cca22d608deb26cf21b33629b170e70a0e221575 (diff) |
MAINT-628 Fix for seams in high res snapshots when lighting and shadows is enabled.
Diffstat (limited to 'indra/newview/pipeline.h')
-rw-r--r-- | indra/newview/pipeline.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/pipeline.h b/indra/newview/pipeline.h index 7a0ca86231..c38e7fbdc1 100644 --- a/indra/newview/pipeline.h +++ b/indra/newview/pipeline.h @@ -119,8 +119,14 @@ public: void createGLBuffers(); void createLUTBuffers(); - void allocateScreenBuffer(U32 resX, U32 resY); + //allocate the largest screen buffer possible up to resX, resY + //returns true if full size buffer allocated, false if some other size is allocated + bool allocateScreenBuffer(U32 resX, U32 resY); + + //attempt to allocate screen buffers at resX, resY + //returns true if allocation successful, false otherwise bool allocateScreenBuffer(U32 resX, U32 resY, U32 samples); + void allocatePhysicsBuffer(); void resetVertexBuffers(LLDrawable* drawable); |