Commits

ziree  committed 86eec7b

Proposed fix for FIRE-543 - Hovertext renders as overlay on top of everything else
(transplanted from 7af0278beaefa4fb1eb9a41f4e9317ac5fe37690)

  • Participants
  • Parent commits 46c7b36

Comments (0)

Files changed (1)

File indra/llrender/llfontgl.cpp

 	origin.mV[VX] -= llround((F32)sCurOrigin.mX) - (sCurOrigin.mX);
 	origin.mV[VY] -= llround((F32)sCurOrigin.mY) - (sCurOrigin.mY);
 
+	// don't forget to do the depth translation, too. -Zi
+	gGL.translatef(0.f,0.f,sCurOrigin.mZ);
 
 	S32 chars_drawn = 0;
 	S32 i;