diff options
author | Jacek Antonelli | 2008-12-01 17:39:58 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-12-01 17:40:06 -0600 |
commit | 7abecb48babe6a6f09bf6692ba55076546cfced9 (patch) | |
tree | 8d18a88513fb97adf32c10aae78f4be1984942db /linden/indra/newview/lljoystickbutton.cpp | |
parent | Second Life viewer sources 1.21.6 (diff) | |
download | meta-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/newview/lljoystickbutton.cpp')
-rw-r--r-- | linden/indra/newview/lljoystickbutton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/lljoystickbutton.cpp b/linden/indra/newview/lljoystickbutton.cpp index 773c57e..ff54569 100644 --- a/linden/indra/newview/lljoystickbutton.cpp +++ b/linden/indra/newview/lljoystickbutton.cpp | |||
@@ -651,11 +651,11 @@ void LLJoystickCameraRotate::drawRotatedImage( const LLImageGL* image, S32 rotat | |||
651 | { 1.f, 0.f } | 651 | { 1.f, 0.f } |
652 | }; | 652 | }; |
653 | 653 | ||
654 | image->bind(); | 654 | gGL.getTexUnit(0)->bind(image); |
655 | 655 | ||
656 | gGL.color4fv(UI_VERTEX_COLOR.mV); | 656 | gGL.color4fv(UI_VERTEX_COLOR.mV); |
657 | 657 | ||
658 | gGL.begin(LLVertexBuffer::QUADS); | 658 | gGL.begin(LLRender::QUADS); |
659 | { | 659 | { |
660 | gGL.texCoord2fv( uv[ (rotations + 0) % 4]); | 660 | gGL.texCoord2fv( uv[ (rotations + 0) % 4]); |
661 | gGL.vertex2i(width, height ); | 661 | gGL.vertex2i(width, height ); |