aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvlcomposition.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llvlcomposition.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/newview/llvlcomposition.cpp b/linden/indra/newview/llvlcomposition.cpp
index 535c504..f96665b 100644
--- a/linden/indra/newview/llvlcomposition.cpp
+++ b/linden/indra/newview/llvlcomposition.cpp
@@ -460,6 +460,10 @@ 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 }
463 texturep->setSubImage(raw, tex_x_begin, tex_y_begin, tex_x_end - tex_x_begin, tex_y_end - tex_y_begin); 467 texturep->setSubImage(raw, tex_x_begin, tex_y_begin, tex_x_end - tex_x_begin, tex_y_end - tex_y_begin);
464 LLSurface::sTextureUpdateTime += gen_timer.getElapsedTimeF32(); 468 LLSurface::sTextureUpdateTime += gen_timer.getElapsedTimeF32();
465 LLSurface::sTexelsUpdated += (tex_x_end - tex_x_begin) * (tex_y_end - tex_y_begin); 469 LLSurface::sTexelsUpdated += (tex_x_end - tex_x_begin) * (tex_y_end - tex_y_begin);