diff options
Diffstat (limited to 'linden/indra/newview/llviewerwindow.cpp')
-rw-r--r-- | linden/indra/newview/llviewerwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewerwindow.cpp b/linden/indra/newview/llviewerwindow.cpp index 0e5218c..a82b162 100644 --- a/linden/indra/newview/llviewerwindow.cpp +++ b/linden/indra/newview/llviewerwindow.cpp | |||
@@ -4463,7 +4463,7 @@ BOOL LLViewerWindow::rawSnapshot(LLImageRaw *raw, S32 image_width, S32 image_hei | |||
4463 | image_buffer_y = llfloor(snapshot_height *scale_factor) ; | 4463 | image_buffer_y = llfloor(snapshot_height *scale_factor) ; |
4464 | } | 4464 | } |
4465 | raw->resize(image_buffer_x, image_buffer_y, type == SNAPSHOT_TYPE_DEPTH ? 4 : 3); | 4465 | raw->resize(image_buffer_x, image_buffer_y, type == SNAPSHOT_TYPE_DEPTH ? 4 : 3); |
4466 | if(!raw->getData()) | 4466 | if(raw->isBufferInvalid()) |
4467 | { | 4467 | { |
4468 | return FALSE ; | 4468 | return FALSE ; |
4469 | } | 4469 | } |