Code cleanup

This commit is contained in:
Enrico Turri 2018-07-18 15:52:20 +02:00
parent be7b786fee
commit 7f267987cb
4 changed files with 4 additions and 386 deletions

View file

@ -10,10 +10,7 @@ namespace GUI {
class GLTexture
{
//###################################################################################################################################################
protected:
// private:
//###################################################################################################################################################
unsigned int m_id;
int m_width;
int m_height;
@ -21,10 +18,7 @@ namespace GUI {
public:
GLTexture();
//###################################################################################################################################################
virtual ~GLTexture();
// ~GLTexture();
//###################################################################################################################################################
bool load_from_file(const std::string& filename, bool generate_mipmaps);
void reset();
@ -37,10 +31,7 @@ namespace GUI {
static void render_texture(unsigned int tex_id, float left, float right, float bottom, float top);
//###################################################################################################################################################
protected:
// private:
//###################################################################################################################################################
void _generate_mipmaps(wxImage& image);
};