diff options
Diffstat (limited to 'src/menu/background_image.hpp')
-rw-r--r-- | src/menu/background_image.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/menu/background_image.hpp b/src/menu/background_image.hpp index 1112aa54..d7475007 100644 --- a/src/menu/background_image.hpp +++ b/src/menu/background_image.hpp @@ -31,6 +31,7 @@ #include "background.hpp" #include "texture.hpp" #include "utils/rgb_color.hpp" +#include "utils/disposer.hpp" namespace usdx { @@ -41,11 +42,13 @@ namespace usdx class BackgroundImage : public Background { private: - Texture* texture; + /** + * Texture containing the image, that should be used as background. + */ + Disposer<Texture>* texture; GLint vertices[8]; RgbColor color; - GLfloat tex[8]; protected: void draw(void); |