aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:38 -0500
committerJacek Antonelli2008-08-15 23:45:38 -0500
commitd7f00c03e236098b10ad5e30d35a0f159eb17255 (patch)
treed45c68b3a638b0545c88c1f644a6b9a689ce58e0 /linden/indra/newview/llviewerwindow.cpp
parentSecond Life viewer sources 1.19.1.2 (diff)
downloadmeta-impy-d7f00c03e236098b10ad5e30d35a0f159eb17255.zip
meta-impy-d7f00c03e236098b10ad5e30d35a0f159eb17255.tar.gz
meta-impy-d7f00c03e236098b10ad5e30d35a0f159eb17255.tar.bz2
meta-impy-d7f00c03e236098b10ad5e30d35a0f159eb17255.tar.xz
Second Life viewer sources 1.19.1.3
Diffstat (limited to 'linden/indra/newview/llviewerwindow.cpp')
-rw-r--r--linden/indra/newview/llviewerwindow.cpp2
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 }