diff options
author | David Walter Seikel | 2013-04-08 04:47:32 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-04-08 04:47:32 +1000 |
commit | 0f7ca330c308a5edb51ee325faf26e5498b38af9 (patch) | |
tree | 1ed99b02793514c85238bbc23f7881b7c9727d37 /linden/indra/newview/llvlcomposition.cpp | |
parent | A little more 64 bit clean now. (diff) | |
download | meta-impy-0f7ca330c308a5edb51ee325faf26e5498b38af9.zip meta-impy-0f7ca330c308a5edb51ee325faf26e5498b38af9.tar.gz meta-impy-0f7ca330c308a5edb51ee325faf26e5498b38af9.tar.bz2 meta-impy-0f7ca330c308a5edb51ee325faf26e5498b38af9.tar.xz |
Delete a big bunch of unused variables.
Diffstat (limited to 'linden/indra/newview/llvlcomposition.cpp')
-rw-r--r-- | linden/indra/newview/llvlcomposition.cpp | 8 |
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 | { |