diff --git a/libkwineffects/kwinglutils.cpp b/libkwineffects/kwinglutils.cpp index 50f57f0d9d..0221038a6b 100644 --- a/libkwineffects/kwinglutils.cpp +++ b/libkwineffects/kwinglutils.cpp @@ -76,7 +76,6 @@ void initEGL() dpy = eglGetDisplay(EGL_DEFAULT_DISPLAY); const QByteArray string = eglQueryString(dpy, EGL_EXTENSIONS); s_eglExtensions = string.split(' '); - eglResolveFunctions(); } void initGL(std::function resolveFunction) diff --git a/libkwineffects/kwinglutils_funcs.cpp b/libkwineffects/kwinglutils_funcs.cpp index 1c786f64cc..0ea13d9166 100644 --- a/libkwineffects/kwinglutils_funcs.cpp +++ b/libkwineffects/kwinglutils_funcs.cpp @@ -40,10 +40,6 @@ glGetGraphicsResetStatus_func glGetGraphicsResetStatus; glReadnPixels_func glReadnPixels; glGetnUniformfv_func glGetnUniformfv; -void eglResolveFunctions() -{ -} - void glResolveFunctions(std::function resolveFunction) { const bool haveArbRobustness = hasGLExtension(QByteArrayLiteral("GL_ARB_robustness")); diff --git a/libkwineffects/kwinglutils_funcs.h b/libkwineffects/kwinglutils_funcs.h index 43eee76c9e..30241af30e 100644 --- a/libkwineffects/kwinglutils_funcs.h +++ b/libkwineffects/kwinglutils_funcs.h @@ -48,8 +48,6 @@ along with this program. If not, see . namespace KWin { -void KWINGLUTILS_EXPORT eglResolveFunctions(); - typedef void (*resolveFuncPtr)(); void KWINGLUTILS_EXPORT glResolveFunctions(std::function resolveFunction);