Simplify platform checks in Graphics Context
[WebKit-https.git] / Source / WebCore / platform / graphics / OpenGLESShims.h
index ab7c6b8..bdee33a 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef OpenGLESShims_h
 #define OpenGLESShims_h
 
-#if PLATFORM(GTK) || PLATFORM(WIN) || PLATFORM(WPE)
+#if USE(OPENGL_ES_2)
 #define glBindFramebufferEXT glBindFramebuffer
 #define glFramebufferTexture2DEXT glFramebufferTexture2D
 #define glBindRenderbufferEXT glBindRenderbuffer