diff options
author | Steven Bennetts <steve@lindenlab.com> | 2007-03-02 21:25:50 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2007-03-02 21:25:50 +0000 |
commit | 4dabd9c0472deb49573fdafef2fa413e59703f19 (patch) | |
tree | 06c680d6a2047e03838d6548bccd26c7baf9d652 /indra/newview/llviewerparceloverlay.cpp | |
parent | d4462963c6ba5db2088723bbedc7b60f1184c594 (diff) |
merge release@58699 beta-1-14-0@58707 -> release
Diffstat (limited to 'indra/newview/llviewerparceloverlay.cpp')
-rw-r--r-- | indra/newview/llviewerparceloverlay.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/indra/newview/llviewerparceloverlay.cpp b/indra/newview/llviewerparceloverlay.cpp index a159bacd16..f5d7aa1094 100644 --- a/indra/newview/llviewerparceloverlay.cpp +++ b/indra/newview/llviewerparceloverlay.cpp @@ -761,27 +761,6 @@ S32 LLViewerParcelOverlay::renderPropertyLines () const S32 GRID_STEP = S32( PARCEL_GRID_STEP_METERS ); const S32 vertex_per_edge = 3 + 2 * (GRID_STEP-1) + 3; - /* JC - Don't do this. Unbinding AGP stalls the draw process, - dropping frame rate. Not unbinding AGP causes random crashes - on nVidia cards due to binding non-AGP arrays. - - gPipeline.unbindAGP(); - glEnableClientState(GL_VERTEX_ARRAY); - glEnableClientState(GL_COLOR_ARRAY); - glVertexPointer(3, GL_FLOAT, 0, mVertexArray ); - glColorPointer( 4, GL_UNSIGNED_BYTE, 0, mColorArray ); - - S32 i; - for (i = 0; i < mVertexCount; i += vertex_per_edge) - { - // Each edge is several vertices - glDrawArrays(GL_LINE_STRIP, i, vertex_per_edge); - } - - glDisableClientState(GL_COLOR_ARRAY); - glDisableClientState(GL_VERTEX_ARRAY); - */ - // Stomp the camera into two dimensions LLVector3 camera_region = mRegion->getPosRegionFromGlobal( gAgent.getCameraPositionGlobal() ); |