From 27a76912631fd32a1cd5815f21cbbb876567604f Mon Sep 17 00:00:00 2001 From: oy Date: Mon, 12 Nov 2018 22:17:32 +0100 Subject: [PATCH] fixed some texture issues #1667 --- src/game/client/components/emoticon.cpp | 1 + src/game/client/components/hud.cpp | 1 + src/game/client/components/spectator.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/src/game/client/components/emoticon.cpp b/src/game/client/components/emoticon.cpp index ef99843d2..6a0e4099d 100644 --- a/src/game/client/components/emoticon.cpp +++ b/src/game/client/components/emoticon.cpp @@ -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) diff --git a/src/game/client/components/hud.cpp b/src/game/client/components/hud.cpp index 3a2948bd9..ff7d30824 100644 --- a/src/game/client/components/hud.cpp +++ b/src/game/client/components/hud.cpp @@ -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() diff --git a/src/game/client/components/spectator.cpp b/src/game/client/components/spectator.cpp index 06eeff726..53d846525 100644 --- a/src/game/client/components/spectator.cpp +++ b/src/game/client/components/spectator.cpp @@ -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()