diff options
author | Oz Linden <oz@lindenlab.com> | 2013-08-20 10:37:10 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2013-08-20 10:37:10 -0400 |
commit | c42a91421ff4691e6d2efa5744fe3f246510649c (patch) | |
tree | 0ce60a84e78b802c7f936e3b4cb1503edb2fa945 /indra/llrender/llrendertarget.cpp | |
parent | d2b947c1fa0757e94eb74429a339a8198531dd93 (diff) | |
parent | 171089207b528ab80a954292c127ba77254ee927 (diff) |
merge changes for 3.6.3-release
Diffstat (limited to 'indra/llrender/llrendertarget.cpp')
-rwxr-xr-x | indra/llrender/llrendertarget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llrender/llrendertarget.cpp b/indra/llrender/llrendertarget.cpp index 6e22712b94..d53c37a847 100755 --- a/indra/llrender/llrendertarget.cpp +++ b/indra/llrender/llrendertarget.cpp @@ -117,8 +117,8 @@ void LLRenderTarget::resize(U32 resx, U32 resy, U32 color_fmt) bool LLRenderTarget::allocate(U32 resx, U32 resy, U32 color_fmt, bool depth, bool stencil, LLTexUnit::eTextureType usage, bool use_fbo, S32 samples) { - resx = llmin(resx, (U32) 4096); - resy = llmin(resy, (U32) 4096); + resx = llmin(resx, (U32) gGLManager.mGLMaxTextureSize); + resy = llmin(resy, (U32) gGLManager.mGLMaxTextureSize); stop_glerror(); release(); |