X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=Source%2FWebCore%2Fplatform%2Fgraphics%2Fopengl%2FGLPlatformContext.cpp;h=bce042583791d223814f6a49d5360f77e0ef65e5;hp=ced7bb8574577d8cf7b85e71a86bb96347dc9621;hb=a84eff589adba30cca18cd941fd80fe809301ee1;hpb=cb576333f3e1216d42d7a4cd79ac218274c078a7 diff --git a/Source/WebCore/platform/graphics/opengl/GLPlatformContext.cpp b/Source/WebCore/platform/graphics/opengl/GLPlatformContext.cpp index ced7bb8..bce0425 100644 --- a/Source/WebCore/platform/graphics/opengl/GLPlatformContext.cpp +++ b/Source/WebCore/platform/graphics/opengl/GLPlatformContext.cpp @@ -36,10 +36,6 @@ #include "NotImplemented.h" -#if HAVE(GLX) -#include -#endif - namespace WebCore { #if USE(OPENGL_ES_2) @@ -55,8 +51,7 @@ public: GLCurrentContextWrapper() : GLPlatformContext() { - // FIXME:: This is a workaround until support to build evas with EGL has been added. -#if USE(GLX) || PLATFORM(EFL) +#if USE(GLX) m_contextHandle = glXGetCurrentContext(); #elif USE(EGL) m_contextHandle = eglGetCurrentContext();