diff --git a/src/engine/client/graphics_threaded.h b/src/engine/client/graphics_threaded.h index 1a7b023eb74..06b841c3c5e 100644 --- a/src/engine/client/graphics_threaded.h +++ b/src/engine/client/graphics_threaded.h @@ -1107,16 +1107,6 @@ class CGraphics_Threaded : public IEngineGraphics void DrawRect4(float x, float y, float w, float h, ColorRGBA ColorTopLeft, ColorRGBA ColorTopRight, ColorRGBA ColorBottomLeft, ColorRGBA ColorBottomRight, int Corners, float Rounding) override; void DrawCircle(float CenterX, float CenterY, float Radius, int Segments) override; - const GL_STexCoord *GetCurTextureCoordinates() override - { - return m_aTexture; - } - - const GL_SColor *GetCurColor() override - { - return m_aColor; - } - int CreateQuadContainer(bool AutomaticUpload = true) override; void QuadContainerChangeAutomaticUpload(int ContainerIndex, bool AutomaticUpload) override; void QuadContainerUpload(int ContainerIndex) override; diff --git a/src/engine/graphics.h b/src/engine/graphics.h index 610f46e3082..a4f44119552 100644 --- a/src/engine/graphics.h +++ b/src/engine/graphics.h @@ -369,27 +369,12 @@ class IGraphics : public IInterface CQuadItem() {} CQuadItem(float x, float y, float w, float h) : m_X(x), m_Y(y), m_Width(w), m_Height(h) {} - void Set(float x, float y, float w, float h) - { - m_X = x; - m_Y = y; - m_Width = w; - m_Height = h; - } - - CFreeformItem ToFreeForm() const - { - return CFreeformItem(m_X, m_Y, m_X + m_Width, m_Y, m_X, m_Y + m_Height, m_X + m_Width, m_Y + m_Height); - } }; virtual void QuadsDraw(CQuadItem *pArray, int Num) = 0; virtual void QuadsDrawTL(const CQuadItem *pArray, int Num) = 0; virtual void QuadsTex3DDrawTL(const CQuadItem *pArray, int Num) = 0; - virtual const GL_STexCoord *GetCurTextureCoordinates() = 0; - virtual const GL_SColor *GetCurColor() = 0; - virtual int CreateQuadContainer(bool AutomaticUpload = true) = 0; virtual void QuadContainerChangeAutomaticUpload(int ContainerIndex, bool AutomaticUpload) = 0; virtual void QuadContainerUpload(int ContainerIndex) = 0;