diff options
Diffstat (limited to 'linden/indra/newview/lltoolbrush.cpp')
-rw-r--r-- | linden/indra/newview/lltoolbrush.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/lltoolbrush.cpp b/linden/indra/newview/lltoolbrush.cpp index 9572440..319a5fd 100644 --- a/linden/indra/newview/lltoolbrush.cpp +++ b/linden/indra/newview/lltoolbrush.cpp | |||
@@ -482,7 +482,7 @@ void LLToolBrushLand::renderOverlay(LLSurface& land, const LLVector3& pos_region | |||
482 | S32 j = (S32) pos_region.mV[VY]; | 482 | S32 j = (S32) pos_region.mV[VY]; |
483 | S32 half_edge = llfloor(LAND_BRUSH_SIZE[mBrushIndex]); | 483 | S32 half_edge = llfloor(LAND_BRUSH_SIZE[mBrushIndex]); |
484 | 484 | ||
485 | gGL.begin(GL_POINTS); | 485 | gGL.begin(LLVertexBuffer::POINTS); |
486 | for(S32 di = -half_edge; di <= half_edge; di++) | 486 | for(S32 di = -half_edge; di <= half_edge; di++) |
487 | { | 487 | { |
488 | if((i+di) < 0 || (i+di) >= (S32)land.mGridsPerEdge) continue; | 488 | if((i+di) < 0 || (i+di) >= (S32)land.mGridsPerEdge) continue; |