aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llviewborder.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-12-01 17:39:58 -0600
committerJacek Antonelli2008-12-01 17:40:06 -0600
commit7abecb48babe6a6f09bf6692ba55076546cfced9 (patch)
tree8d18a88513fb97adf32c10aae78f4be1984942db /linden/indra/llui/llviewborder.cpp
parentSecond Life viewer sources 1.21.6 (diff)
downloadmeta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.zip
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.gz
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.bz2
meta-impy-7abecb48babe6a6f09bf6692ba55076546cfced9.tar.xz
Second Life viewer sources 1.22.0-RC
Diffstat (limited to 'linden/indra/llui/llviewborder.cpp')
-rw-r--r--linden/indra/llui/llviewborder.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/llui/llviewborder.cpp b/linden/indra/llui/llviewborder.cpp
index 8a5beea..a1c26d6 100644
--- a/linden/indra/llui/llviewborder.cpp
+++ b/linden/indra/llui/llviewborder.cpp
@@ -111,7 +111,7 @@ void LLViewBorder::draw()
111 111
112void LLViewBorder::drawOnePixelLines() 112void LLViewBorder::drawOnePixelLines()
113{ 113{
114 LLGLSNoTexture uiNoTexture; 114 gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
115 115
116 LLColor4 top_color = mHighlightLight; 116 LLColor4 top_color = mHighlightLight;
117 LLColor4 bottom_color = mHighlightLight; 117 LLColor4 bottom_color = mHighlightLight;
@@ -158,7 +158,7 @@ void LLViewBorder::drawOnePixelLines()
158 158
159void LLViewBorder::drawTwoPixelLines() 159void LLViewBorder::drawTwoPixelLines()
160{ 160{
161 LLGLSNoTexture no_texture; 161 gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
162 162
163 LLColor4 focus_color = gFocusMgr.getFocusColor(); 163 LLColor4 focus_color = gFocusMgr.getFocusColor();
164 164
@@ -230,7 +230,7 @@ void LLViewBorder::drawTextures()
230 230
231 //gGL.color4fv(UI_VERTEX_COLOR.mV); 231 //gGL.color4fv(UI_VERTEX_COLOR.mV);
232 232
233 //mTexture->bind(); 233 //gGL.getTexUnit(0)->bind(mTexture);
234 //glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT ); 234 //glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT );
235 //glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT ); 235 //glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT );
236 236
@@ -248,7 +248,7 @@ void LLViewBorder::drawTextureTrapezoid( F32 degrees, S32 width, S32 length, F32
248 gGL.translatef(start_x, start_y, 0.f); 248 gGL.translatef(start_x, start_y, 0.f);
249 glRotatef( degrees, 0, 0, 1 ); 249 glRotatef( degrees, 0, 0, 1 );
250 250
251 gGL.begin(LLVertexBuffer::QUADS); 251 gGL.begin(LLRender::QUADS);
252 { 252 {
253 // width, width /---------\ length-width, width // 253 // width, width /---------\ length-width, width //
254 // / \ // 254 // / \ //