aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvlcomposition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llvlcomposition.cpp')
-rw-r--r--linden/indra/newview/llvlcomposition.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/linden/indra/newview/llvlcomposition.cpp b/linden/indra/newview/llvlcomposition.cpp
index f96665b..535c504 100644
--- a/linden/indra/newview/llvlcomposition.cpp
+++ b/linden/indra/newview/llvlcomposition.cpp
@@ -460,10 +460,6 @@ BOOL LLVLComposition::generateTexture(const F32 x, const F32 y,
460 } 460 }
461 } 461 }
462 462
463 if (!texturep->getHasGLTexture())
464 {
465 texturep->createGLTexture(0, raw);
466 }
467 texturep->setSubImage(raw, tex_x_begin, tex_y_begin, tex_x_end - tex_x_begin, tex_y_end - tex_y_begin); 463 texturep->setSubImage(raw, tex_x_begin, tex_y_begin, tex_x_end - tex_x_begin, tex_y_end - tex_y_begin);
468 LLSurface::sTextureUpdateTime += gen_timer.getElapsedTimeF32(); 464 LLSurface::sTextureUpdateTime += gen_timer.getElapsedTimeF32();
469 LLSurface::sTexelsUpdated += (tex_x_end - tex_x_begin) * (tex_y_end - tex_y_begin); 465 LLSurface::sTexelsUpdated += (tex_x_end - tex_x_begin) * (tex_y_end - tex_y_begin);