summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2010-10-13 19:33:36 -0600
committerXiaohong Bao <bao@lindenlab.com>2010-10-13 19:33:36 -0600
commite403f402e9743099d03e286593f42651a01bad88 (patch)
treea9b8e7d11263f8b352e0b08d91050b18098cc028 /indra
parentc3764eaf87580b66790a8d6c4c6a6700159f7977 (diff)
some debug code for SH-288: [crashhunters] LLImageGL::setSubImageFromFrameBuffer
Diffstat (limited to 'indra')
-rw-r--r--indra/llrender/llimagegl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llimagegl.cpp b/indra/llrender/llimagegl.cpp
index 9d037f2565..9d0fc53d29 100644
--- a/indra/llrender/llimagegl.cpp
+++ b/indra/llrender/llimagegl.cpp
@@ -1057,6 +1057,8 @@ BOOL LLImageGL::setSubImageFromFrameBuffer(S32 fb_x, S32 fb_y, S32 x_pos, S32 y_
checkTexSize(true) ;
llcallstacks << fb_x << " : " << fb_y << " : " << x_pos << " : " << y_pos << " : " << width << " : " << height <<
" : " << (S32)mComponents << llcallstacksendl ;
+
+ log_glerror() ;
}
glCopyTexSubImage2D(GL_TEXTURE_2D, 0, fb_x, fb_y, x_pos, y_pos, width, height);