summaryrefslogtreecommitdiffstats
path: root/Project/wxGLString.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2017-01-05 19:31:28 -0200
committerThales1330 <thaleslima.ufu@gmail.com>2017-01-05 19:31:28 -0200
commitb6f96ca48bc156898df79deba63d270b393fb150 (patch)
tree9c6e2fa2a45d6c6c4c14d8711b2b89066bfb37d7 /Project/wxGLString.h
parenta1932eec23589ed67d824873b37de3e83a09cd24 (diff)
downloadPSP.git-b6f96ca48bc156898df79deba63d270b393fb150.tar.gz
PSP.git-b6f96ca48bc156898df79deba63d270b393fb150.tar.xz
PSP.git-b6f96ca48bc156898df79deba63d270b393fb150.zip
Text bugs fixed
Diffstat (limited to 'Project/wxGLString.h')
-rw-r--r--Project/wxGLString.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Project/wxGLString.h b/Project/wxGLString.h
index 9765080..a23efd2 100644
--- a/Project/wxGLString.h
+++ b/Project/wxGLString.h
@@ -25,7 +25,7 @@ protected:
double x,y, angle;
float xscale, yscale;
- TextTexture* image;
+ TextTexture* image = NULL;
bool xflip, yflip;
float tex_coord_x1, tex_coord_y1;
@@ -77,7 +77,7 @@ my_message.render(x, y);
class wxGLString : public wxString, public TextGLDrawable
{
protected:
- TextTexture* img;
+ TextTexture* img = NULL;
wxFont font;
friend class wxGLStringArray;
@@ -168,7 +168,7 @@ my_messages.get(2).render( x, y + 50 );
class wxGLStringArray
{
std::vector<wxGLString> strings;
- TextTexture* img;
+ TextTexture* img = NULL;
wxFont font;
public:
/** constructs an empty array - add elements later using addString */