diff options
author | Dave Parks <davep@lindenlab.com> | 2011-07-20 16:06:04 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-07-20 16:06:04 -0500 |
commit | 26568d5c984699b75cae209a652c43cb2303ba5f (patch) | |
tree | 36d828fc61054b10e936ccfbb09d739e55f4bef0 /indra/newview/pipeline.h | |
parent | 76249c58f64beec0d426ab37397159feeafca2d6 (diff) |
SH-1838 Add error handling for allocation of off screen render targets.
Reviewed by Leslie
Diffstat (limited to 'indra/newview/pipeline.h')
-rw-r--r-- | indra/newview/pipeline.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/pipeline.h b/indra/newview/pipeline.h index e9da25e544..28e6526acd 100644 --- a/indra/newview/pipeline.h +++ b/indra/newview/pipeline.h @@ -113,9 +113,11 @@ public: void resetVertexBuffers(); void resizeScreenTexture(); void releaseGLBuffers(); + void releaseScreenBuffers(); void createGLBuffers(); void allocateScreenBuffer(U32 resX, U32 resY); + bool allocateScreenBuffer(U32 resX, U32 resY, U32 samples); void allocatePhysicsBuffer(); void resetVertexBuffers(LLDrawable* drawable); |