[kwinglutils] Drop variable glTextureUnitsCount

Summary: Unused and even potentially not set.

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D3399
master
Martin Gräßlin 8 years ago
parent 00c9560519
commit b9884672f4

@ -64,8 +64,6 @@ namespace KWin
static QList<QByteArray> glExtensions;
static QList<QByteArray> s_eglExtensions;
int glTextureUnitsCount;
// Functions
@ -100,8 +98,6 @@ void cleanupGL()
GLPlatform::cleanup();
glExtensions.clear();
glTextureUnitsCount = 0;
}
bool hasGLVersion(int major, int minor, int release)

@ -56,9 +56,6 @@ void KWINGLUTILS_EXPORT initGL(std::function<resolveFuncPtr(const char*)> resolv
// Cleans up all resources hold by the GL Context
void KWINGLUTILS_EXPORT cleanupGL();
// Number of supported texture units
extern KWINGLUTILS_EXPORT int glTextureUnitsCount;
bool KWINGLUTILS_EXPORT hasGLVersion(int major, int minor, int release = 0);
// use for both OpenGL and GLX extensions

Loading…
Cancel
Save