diff options
Diffstat (limited to 'src/core/gl_surface_qt.cpp')
-rw-r--r-- | src/core/gl_surface_qt.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/gl_surface_qt.cpp b/src/core/gl_surface_qt.cpp index d3bad4926..86bb4fda9 100644 --- a/src/core/gl_surface_qt.cpp +++ b/src/core/gl_surface_qt.cpp @@ -535,12 +535,7 @@ GLSurface::CreateViewGLSurface(gfx::AcceleratedWidget window) std::string DriverEGL::GetPlatformExtensions() { -#if defined(USE_X11) - EGLNativeDisplayType nativeDisplay = reinterpret_cast<EGLNativeDisplayType>(GLContextHelper::getXDisplay()); - EGLDisplay display = eglGetDisplay(nativeDisplay); -#else EGLDisplay display = GLContextHelper::getEGLDisplay(); -#endif if (display == EGL_NO_DISPLAY) return ""; |