mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-13 21:14:22 +03:00
Code cleanup
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user