diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/lljoystickbutton.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/lljoystickbutton.cpp b/linden/indra/newview/lljoystickbutton.cpp index 773c57e..0d40a4e 100644 --- a/linden/indra/newview/lljoystickbutton.cpp +++ b/linden/indra/newview/lljoystickbutton.cpp | |||
@@ -4,7 +4,7 @@ | |||
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2001&license=viewergpl$ | 5 | * $LicenseInfo:firstyear=2001&license=viewergpl$ |
6 | * | 6 | * |
7 | * Copyright (c) 2001-2008, Linden Research, Inc. | 7 | * Copyright (c) 2001-2009, Linden Research, Inc. |
8 | * | 8 | * |
9 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
10 | * The source code in this file ("Source Code") is provided by Linden Lab | 10 | * The source code in this file ("Source Code") is provided by Linden Lab |
@@ -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 ); |