mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
fixed some texture issues #1667
This commit is contained in:
parent
3519270de8
commit
27a7691263
|
@ -161,6 +161,7 @@ void CEmoticon::OnRender()
|
|||
IGraphics::CQuadItem QuadItem(m_SelectorMouse.x+Screen.w/2,m_SelectorMouse.y+Screen.h/2,24,24);
|
||||
Graphics()->QuadsDrawTL(&QuadItem, 1);
|
||||
Graphics()->QuadsEnd();
|
||||
Graphics()->WrapNormal();
|
||||
}
|
||||
|
||||
void CEmoticon::Emote(int Emoticon)
|
||||
|
|
|
@ -597,6 +597,7 @@ void CHud::RenderHealthAndAmmo(const CNetObj_Character *pCharacter)
|
|||
Array[i++] = IGraphics::CQuadItem(x+h*12,y+12,12,12);
|
||||
Graphics()->QuadsDrawTL(Array, i);
|
||||
Graphics()->QuadsEnd();
|
||||
Graphics()->WrapNormal();
|
||||
}
|
||||
|
||||
void CHud::RenderSpectatorHud()
|
||||
|
|
|
@ -319,6 +319,7 @@ void CSpectator::OnRender()
|
|||
IGraphics::CQuadItem QuadItem(m_SelectorMouse.x+Width/2.0f, m_SelectorMouse.y+Height/2.0f, 48.0f, 48.0f);
|
||||
Graphics()->QuadsDrawTL(&QuadItem, 1);
|
||||
Graphics()->QuadsEnd();
|
||||
Graphics()->WrapNormal();
|
||||
}
|
||||
|
||||
void CSpectator::OnReset()
|
||||
|
|
Loading…
Reference in a new issue