diff options
Diffstat (limited to 'linden/indra/llrender/llrendertarget.cpp')
-rw-r--r-- | linden/indra/llrender/llrendertarget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llrender/llrendertarget.cpp b/linden/indra/llrender/llrendertarget.cpp index b7f3177..4cf8451 100644 --- a/linden/indra/llrender/llrendertarget.cpp +++ b/linden/indra/llrender/llrendertarget.cpp | |||
@@ -139,7 +139,7 @@ void LLRenderTarget::addColorAttachment(U32 color_fmt) | |||
139 | 139 | ||
140 | U32 offset = mTex.size(); | 140 | U32 offset = mTex.size(); |
141 | if (offset >= 4 || | 141 | if (offset >= 4 || |
142 | offset > 0 && (mFBO == 0 || !gGLManager.mHasDrawBuffers)) | 142 | (offset > 0 && (mFBO == 0 || !gGLManager.mHasDrawBuffers))) |
143 | { | 143 | { |
144 | llerrs << "Too many color attachments!" << llendl; | 144 | llerrs << "Too many color attachments!" << llendl; |
145 | } | 145 | } |
@@ -608,7 +608,7 @@ void LLMultisampleBuffer::addColorAttachment(U32 color_fmt) | |||
608 | 608 | ||
609 | U32 offset = mTex.size(); | 609 | U32 offset = mTex.size(); |
610 | if (offset >= 4 || | 610 | if (offset >= 4 || |
611 | offset > 0 && (mFBO == 0 || !gGLManager.mHasDrawBuffers)) | 611 | (offset > 0 && (mFBO == 0 || !gGLManager.mHasDrawBuffers))) |
612 | { | 612 | { |
613 | llerrs << "Too many color attachments!" << llendl; | 613 | llerrs << "Too many color attachments!" << llendl; |
614 | } | 614 | } |