Update to build on Xcode 6.0: more removal of unused variables [-Wunused-variable]
parent
392d63efac
commit
2c78c1935f
|
|
@ -103,7 +103,6 @@ LLFontGlyphInfo::LLFontGlyphInfo(U32 index)
|
|||
LLFontFreetype::LLFontFreetype()
|
||||
: LLTrace::MemTrackable<LLFontFreetype>("LLFontFreetype"),
|
||||
mFontBitmapCachep(new LLFontBitmapCache),
|
||||
mValid(FALSE),
|
||||
mAscender(0.f),
|
||||
mDescender(0.f),
|
||||
mLineHeight(0.f),
|
||||
|
|
|
|||
|
|
@ -162,8 +162,6 @@ private:
|
|||
BOOL mIsFallback;
|
||||
font_vector_t mFallbackFonts; // A list of fallback fonts to look for glyphs in (for Unicode chars)
|
||||
|
||||
BOOL mValid;
|
||||
|
||||
typedef boost::unordered_map<llwchar, LLFontGlyphInfo*> char_glyph_info_map_t;
|
||||
mutable char_glyph_info_map_t mCharGlyphInfoMap; // Information about glyph location in bitmap
|
||||
|
||||
|
|
|
|||
|
|
@ -61,12 +61,6 @@ LLCoordGL LLFontGL::sCurOrigin;
|
|||
F32 LLFontGL::sCurDepth;
|
||||
std::vector<std::pair<LLCoordGL, F32> > LLFontGL::sOriginStack;
|
||||
|
||||
const F32 EXT_X_BEARING = 1.f;
|
||||
const F32 EXT_Y_BEARING = 0.f;
|
||||
const F32 EXT_KERNING = 1.f;
|
||||
const F32 PIXEL_BORDER_THRESHOLD = 0.0001f;
|
||||
const F32 PIXEL_CORRECTION_DISTANCE = 0.01f;
|
||||
|
||||
const F32 PAD_UVY = 0.5f; // half of vertical padding between glyphs in the glyph texture
|
||||
const F32 DROP_SHADOW_SOFT_STRENGTH = 0.3f;
|
||||
|
||||
|
|
|
|||
|
|
@ -49,17 +49,8 @@ static LLStaticHashedString sBlurWidth("blurWidth");
|
|||
|
||||
LLPostProcess * gPostProcess = NULL;
|
||||
|
||||
|
||||
static const unsigned int NOISE_SIZE = 512;
|
||||
|
||||
/// CALCULATING LUMINANCE (Using NTSC lum weights)
|
||||
/// http://en.wikipedia.org/wiki/Luma_%28video%29
|
||||
static const float LUMINANCE_R = 0.299f;
|
||||
static const float LUMINANCE_G = 0.587f;
|
||||
static const float LUMINANCE_B = 0.114f;
|
||||
|
||||
static const char * const XML_FILENAME = "postprocesseffects.xml";
|
||||
|
||||
LLPostProcess::LLPostProcess(void) :
|
||||
initialized(false),
|
||||
mAllEffects(LLSD::emptyMap()),
|
||||
|
|
|
|||
Loading…
Reference in New Issue