Simplify platform checks in Graphics Context
[WebKit-https.git] / Source / WebCore / platform / graphics / GLContext.h
index 354e31f..191727f 100644 (file)
 // FIXME: For now default to the GBM EGL platform, but this should really be
 // somehow deducible from the build configuration.
 #define __GBM__ 1
 // FIXME: For now default to the GBM EGL platform, but this should really be
 // somehow deducible from the build configuration.
 #define __GBM__ 1
-#include <EGL/eglplatform.h>
-#else
-#include "eglplatform.h"
 #endif // PLATFORM(WPE)
 #endif // PLATFORM(WPE)
+#include <EGL/eglplatform.h>
 typedef EGLNativeWindowType GLNativeWindowType;
 #else // !USE(EGL) || PLATFORM(GTK)
 typedef uint64_t GLNativeWindowType;
 typedef EGLNativeWindowType GLNativeWindowType;
 #else // !USE(EGL) || PLATFORM(GTK)
 typedef uint64_t GLNativeWindowType;