Fix -Wunused-variable
This commit is contained in:
parent
354857e9f1
commit
813d861ea6
1 changed files with 0 additions and 2 deletions
|
@ -54,8 +54,6 @@ AbstractEglBackend::~AbstractEglBackend()
|
|||
|
||||
EGLContext AbstractEglBackend::ensureGlobalShareContext()
|
||||
{
|
||||
const EGLDisplay eglDisplay = kwinApp()->platform()->sceneEglDisplay();
|
||||
|
||||
if (kwinApp()->platform()->sceneEglGlobalShareContext() != EGL_NO_CONTEXT) {
|
||||
return kwinApp()->platform()->sceneEglGlobalShareContext();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue