diff options
Diffstat (limited to 'indra/newview/llviewercamera.cpp')
| -rw-r--r-- | indra/newview/llviewercamera.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewercamera.cpp b/indra/newview/llviewercamera.cpp index af6c78d8e5..553c8d9b00 100644 --- a/indra/newview/llviewercamera.cpp +++ b/indra/newview/llviewercamera.cpp @@ -520,6 +520,7 @@ bool LLViewerCamera::projectPosAgentToScreen(const LLVector3 &pos_agent, LLCoord  bool LLViewerCamera::projectPosAgentToScreenEdge(const LLVector3 &pos_agent,                                                  LLCoordGL &out_point) const  { +#if GLU_VERSION_1_1      LLVector3 dir_to_point = pos_agent - getOrigin();      dir_to_point /= dir_to_point.magVec(); @@ -650,6 +651,7 @@ bool LLViewerCamera::projectPosAgentToScreenEdge(const LLVector3 &pos_agent,          out_point.mY = int_y + world_rect.mBottom;          return true;      } +#endif // GLU_VERSION_1_1      return false;  }  | 
