summaryrefslogtreecommitdiffstats
path: root/Project/OpenGLText.h
diff options
context:
space:
mode:
authorThales Lima <thaleslima.ufu@gmail.com>2017-10-25 19:17:00 -0200
committerThales Lima <thaleslima.ufu@gmail.com>2017-10-25 19:17:00 -0200
commit7043bf93567689f3b1304cc998c1fb09b7e0e357 (patch)
tree4d6ca5dd407d0f729e7413ddd62d26b25beabfca /Project/OpenGLText.h
parentc53fc819fe6dfe15dc3083b71e0161a68c8b32b5 (diff)
downloadPSP.git-7043bf93567689f3b1304cc998c1fb09b7e0e357.tar.gz
PSP.git-7043bf93567689f3b1304cc998c1fb09b7e0e357.tar.xz
PSP.git-7043bf93567689f3b1304cc998c1fb09b7e0e357.zip
Fixed textures bug on linux
Diffstat (limited to 'Project/OpenGLText.h')
-rw-r--r--Project/OpenGLText.h1
1 files changed, 1 insertions, 0 deletions
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);