mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 21:58:03 -06:00
Code cleanup
This commit is contained in:
parent
be7b786fee
commit
7f267987cb
4 changed files with 4 additions and 386 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue