From 7043bf93567689f3b1304cc998c1fb09b7e0e357 Mon Sep 17 00:00:00 2001 From: Thales Lima Date: Wed, 25 Oct 2017 19:17:00 -0200 Subject: Fixed textures bug on linux --- Project/OpenGLText.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Project/OpenGLText.h') diff --git a/Project/OpenGLText.h b/Project/OpenGLText.h index c07dab1..08da8f1 100644 --- a/Project/OpenGLText.h +++ b/Project/OpenGLText.h @@ -42,6 +42,7 @@ class OpenGLText virtual wxString GetText() const { return m_text; } virtual int GetWidth() const { return m_bitmapSize.GetWidth(); } virtual int GetHeight() const { return m_bitmapSize.GetHeight(); } + virtual bool IsTextureOK(); protected: void Init(); int RoundToPowerOfTwo(int value, int min = 32); -- cgit