mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 01:13:32 +02:00
more spacing fixes in Avatar.cpp
This commit is contained in:
parent
6a7434651a
commit
dd7c1fab2e
1 changed files with 2 additions and 2 deletions
|
@ -991,10 +991,10 @@ void Avatar::render(bool lookingInMirror, bool renderAvatarBalls) {
|
|||
int lastIndex = _chatMessage.size() - 1;
|
||||
char lastChar = _chatMessage[lastIndex];
|
||||
_chatMessage[lastIndex] = '\0';
|
||||
textRenderer()->draw(-width/2, 0, _chatMessage.c_str());
|
||||
textRenderer()->draw(-width / 2.0f, 0, _chatMessage.c_str());
|
||||
_chatMessage[lastIndex] = lastChar;
|
||||
glColor3f(0, 1, 0);
|
||||
textRenderer()->draw(width/2 - lastWidth, 0, _chatMessage.c_str() + lastIndex);
|
||||
textRenderer()->draw(width / 2.0f - lastWidth, 0, _chatMessage.c_str() + lastIndex);
|
||||
}
|
||||
glEnable(GL_LIGHTING);
|
||||
glDepthMask(true);
|
||||
|
|
Loading…
Reference in a new issue