summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-11-26 17:10:22 -0600
committerDave Parks <davep@lindenlab.com>2012-11-26 17:10:22 -0600
commit72cbe5b9429b095cc2b9d940fde78dc4d2e21978 (patch)
tree8f8ff2d564af774dfc9e552771601c195d3a007f /indra/newview/pipeline.h
parentcb96ab1a6fed15da0407d2aba5e9de566417088f (diff)
MAINT-1958 Fix for crash on OSX when resizing window with deferred rendering enabled.
Reviewed by VoidPointer
Diffstat (limited to 'indra/newview/pipeline.h')
-rw-r--r--indra/newview/pipeline.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/pipeline.h b/indra/newview/pipeline.h
index c38e7fbdc1..e5a11d5fc6 100644
--- a/indra/newview/pipeline.h
+++ b/indra/newview/pipeline.h
@@ -122,6 +122,10 @@ public:
//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);
+private:
+ //implementation of above, wrapped for easy error handling
+ bool doAllocateScreenBuffer(U32 resX, U32 resY);
+public:
//attempt to allocate screen buffers at resX, resY
//returns true if allocation successful, false otherwise