Code cleanup

This commit is contained in:
Enrico Turri 2018-08-13 09:23:10 +02:00
parent b6f6200bd5
commit bb07100a4f
9 changed files with 2 additions and 164 deletions

View file

@ -10,7 +10,6 @@ namespace GUI {
class GLTexture
{
//###################################################################################################################################
public:
struct UV
{
@ -27,7 +26,6 @@ namespace GUI {
};
static Quad_UVs FullTextureUVs;
//###################################################################################################################################
protected:
unsigned int m_id;
@ -49,9 +47,7 @@ namespace GUI {
const std::string& get_source() const;
static void render_texture(unsigned int tex_id, float left, float right, float bottom, float top);
//###################################################################################################################################
static void render_sub_texture(unsigned int tex_id, float left, float right, float bottom, float top, const Quad_UVs& uvs);
//###################################################################################################################################
protected:
unsigned int _generate_mipmaps(wxImage& image);