diff options
author | simon <none@none> | 2014-04-21 13:04:07 -0700 |
---|---|---|
committer | simon <none@none> | 2014-04-21 13:04:07 -0700 |
commit | fdb28bccb92d121f1b3dfc068a50d5cc3db43ce9 (patch) | |
tree | 391f32cc407d6e9c14bd4804b7ece4f53df3250c /indra/newview/llsurface.cpp | |
parent | 80eafe2ff3b235b6355ae2f20e8301374623e6ea (diff) | |
parent | a5a0a0b1362da5d00cc6d09bb841ef6167bb2922 (diff) |
Merge downstream code
Diffstat (limited to 'indra/newview/llsurface.cpp')
-rwxr-xr-x | indra/newview/llsurface.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/indra/newview/llsurface.cpp b/indra/newview/llsurface.cpp index f1b27279e3..93c7f54101 100755 --- a/indra/newview/llsurface.cpp +++ b/indra/newview/llsurface.cpp @@ -233,12 +233,6 @@ void LLSurface::createSTexture() // GL NOT ACTIVE HERE LLPointer<LLImageRaw> raw = new LLImageRaw(sTextureSize, sTextureSize, 3); U8 *default_texture = raw->getData(); - - if (!default_texture) - { - return; - } - for (S32 i = 0; i < sTextureSize; i++) { for (S32 j = 0; j < sTextureSize; j++) @@ -263,12 +257,6 @@ void LLSurface::createWaterTexture() // Create the water texture LLPointer<LLImageRaw> raw = new LLImageRaw(sTextureSize/2, sTextureSize/2, 4); U8 *default_texture = raw->getData(); - - if (!default_texture) - { - return; - } - for (S32 i = 0; i < sTextureSize/2; i++) { for (S32 j = 0; j < sTextureSize/2; j++) |