Changed the Qt images to load in buffers using dimensions multiple of power 2. Simplified the memory management as well.
This commit is contained in:
@@ -338,10 +338,6 @@ public:
|
||||
|
||||
int mFilter;
|
||||
|
||||
#if defined (QT_CONFIG)
|
||||
QImage mImage;
|
||||
#endif
|
||||
|
||||
#if defined (WIN32) || defined (LINUX) || defined (IOS)
|
||||
GLuint mTexId;
|
||||
u8* mBuffer;
|
||||
|
||||
Reference in New Issue
Block a user