aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/background_image.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu/background_image.hpp')
-rw-r--r--src/menu/background_image.hpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/menu/background_image.hpp b/src/menu/background_image.hpp
index 7c0549bf..2a61255b 100644
--- a/src/menu/background_image.hpp
+++ b/src/menu/background_image.hpp
@@ -40,15 +40,17 @@ namespace usdx
private:
Texture* texture;
- GLfloat vertices[8];
- GLubyte color[16];
+ GLint vertices[8];
+ GLubyte color[12];
GLfloat tex[8];
protected:
void draw(void);
public:
- BackgroundImage(boost::filesystem::wpath filename);
+ BackgroundImage(const DrawableControl &control,
+ boost::filesystem::wpath filename);
+
virtual ~BackgroundImage();
};
};