mirror of
https://github.com/edubart/otclient.git
synced 2025-10-24 00:05:02 +02:00
speedup sprite loading
This commit is contained in:
@@ -35,7 +35,10 @@ public:
|
||||
void bind() { glBindTexture(GL_TEXTURE_2D, m_textureId); }
|
||||
|
||||
void generateMipmaps();
|
||||
void generateBilinearMipmaps();
|
||||
|
||||
// generate bilinear mipmaps optimized for alpha textures
|
||||
void generateBilinearMipmaps(std::vector<uint8> inPixels);
|
||||
|
||||
void setSmooth(bool smooth);
|
||||
GLuint getId() { return m_textureId; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user