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.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/linden/indra/newview/llvlcomposition.cpp b/linden/indra/newview/llvlcomposition.cpp
index afd9b95..beec1f1 100644
--- a/linden/indra/newview/llvlcomposition.cpp
+++ b/linden/indra/newview/llvlcomposition.cpp
@@ -384,9 +384,6 @@ BOOL LLVLComposition::generateTexture(const F32 x, const F32 y,
384 LLPointer<LLImageRaw> raw = new LLImageRaw(tex_width, tex_height, tex_comps); 384 LLPointer<LLImageRaw> raw = new LLImageRaw(tex_width, tex_height, tex_comps);
385 U8 *rawp = raw->getData(); 385 U8 *rawp = raw->getData();
386 386
387 F32 tex_width_inv = 1.f/tex_width;
388 F32 tex_height_inv = 1.f/tex_height;
389
390 F32 st_x_stride, st_y_stride; 387 F32 st_x_stride, st_y_stride;
391 st_x_stride = ((F32)st_width / (F32)mTexScaleX)*((F32)mWidth / (F32)tex_width); 388 st_x_stride = ((F32)st_width / (F32)mTexScaleX)*((F32)mWidth / (F32)tex_width);
392 st_y_stride = ((F32)st_height / (F32)mTexScaleY)*((F32)mWidth / (F32)tex_height); 389 st_y_stride = ((F32)st_height / (F32)mTexScaleY)*((F32)mWidth / (F32)tex_height);
@@ -421,11 +418,6 @@ BOOL LLVLComposition::generateTexture(const F32 x, const F32 y,
421 tex1 = tex0 + 1; 418 tex1 = tex0 + 1;
422 tex1 = llclamp(tex1, 0, 3); 419 tex1 = llclamp(tex1, 0, 3);
423 420
424 F32 xy_int_i, xy_int_j;
425
426 xy_int_i = i * tex_width_inv;
427 xy_int_j = j * tex_height_inv;
428
429 st_offset = (lltrunc(sti) + lltrunc(stj)*st_width) * st_comps; 421 st_offset = (lltrunc(sti) + lltrunc(stj)*st_width) * st_comps;
430 for (U32 k = 0; k < tex_comps; k++) 422 for (U32 k = 0; k < tex_comps; k++)
431 { 423 {