diff options
Diffstat (limited to 'linden/indra/newview/llfloaterauction.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterauction.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llfloaterauction.cpp b/linden/indra/newview/llfloaterauction.cpp index 80c43ab..0813430 100644 --- a/linden/indra/newview/llfloaterauction.cpp +++ b/linden/indra/newview/llfloaterauction.cpp | |||
@@ -5,7 +5,7 @@ | |||
5 | * | 5 | * |
6 | * $LicenseInfo:firstyear=2004&license=viewergpl$ | 6 | * $LicenseInfo:firstyear=2004&license=viewergpl$ |
7 | * | 7 | * |
8 | * Copyright (c) 2004-2008, Linden Research, Inc. | 8 | * Copyright (c) 2004-2009, Linden Research, Inc. |
9 | * | 9 | * |
10 | * Second Life Viewer Source Code | 10 | * Second Life Viewer Source Code |
11 | * The source code in this file ("Source Code") is provided by Linden Lab | 11 | * The source code in this file ("Source Code") is provided by Linden Lab |
@@ -148,7 +148,7 @@ void LLFloaterAuction::draw() | |||
148 | if (childGetRect("snapshot_icon", rect)) | 148 | if (childGetRect("snapshot_icon", rect)) |
149 | { | 149 | { |
150 | { | 150 | { |
151 | LLGLSNoTexture gls_no_texture; | 151 | gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); |
152 | gl_rect_2d(rect, LLColor4(0.f, 0.f, 0.f, 1.f)); | 152 | gl_rect_2d(rect, LLColor4(0.f, 0.f, 0.f, 1.f)); |
153 | rect.stretch(-1); | 153 | rect.stretch(-1); |
154 | } | 154 | } |
@@ -205,7 +205,7 @@ void LLFloaterAuction::onClickSnapshot(void* data) | |||
205 | LLVFile::writeFile(j2c->getData(), j2c->getDataSize(), gVFS, self->mImageID, LLAssetType::AT_TEXTURE); | 205 | LLVFile::writeFile(j2c->getData(), j2c->getDataSize(), gVFS, self->mImageID, LLAssetType::AT_TEXTURE); |
206 | 206 | ||
207 | self->mImage = new LLImageGL((LLImageRaw*)raw, FALSE); | 207 | self->mImage = new LLImageGL((LLImageRaw*)raw, FALSE); |
208 | self->mImage->bind(); | 208 | gGL.getTexUnit(0)->bind(self->mImage); |
209 | self->mImage->setClamp(TRUE, TRUE); | 209 | self->mImage->setClamp(TRUE, TRUE); |
210 | } | 210 | } |
211 | else | 211 | else |