diff options
Diffstat (limited to 'linden/indra/newview/llwebbrowserctrl.cpp')
-rw-r--r-- | linden/indra/newview/llwebbrowserctrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llwebbrowserctrl.cpp b/linden/indra/newview/llwebbrowserctrl.cpp index 1d187cb..cfe5cb6 100644 --- a/linden/indra/newview/llwebbrowserctrl.cpp +++ b/linden/indra/newview/llwebbrowserctrl.cpp | |||
@@ -862,7 +862,7 @@ BOOL LLWebBrowserTexture::render() | |||
862 | mTexture->setSubImage( pixels, | 862 | mTexture->setSubImage( pixels, |
863 | media_data_width, media_data_height, | 863 | media_data_width, media_data_height, |
864 | 0, 0, | 864 | 0, 0, |
865 | width, height ); | 865 | llmin(width, media_data_width), llmin(media_data_height, height) ); |
866 | }; | 866 | }; |
867 | } | 867 | } |
868 | else | 868 | else |