diff options
Diffstat (limited to 'Project/wxGLString.h')
-rw-r--r-- | Project/wxGLString.h | 6 |
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 */ |