--- webkitgtk-2.30.5.old/Source/ThirdParty/ANGLE/src/common/PackedEnums.cpp +++ webkitgtk-2.30.5/Source/ThirdParty/ANGLE/src/common/PackedEnums.cpp @@ -487,9 +487,10 @@ case EGL_TEXTURE_2D: return gl::TextureType::_2D; +#ifdef EGL_TEXTURE_RECTANGLE_ANGLE case EGL_TEXTURE_RECTANGLE_ANGLE: return gl::TextureType::Rectangle; - +#endif default: UNREACHABLE(); return gl::TextureType::InvalidEnum; --- webkitgtk-2.30.5.old/Source/ThirdParty/ANGLE/src/common/utilities.cpp +++ webkitgtk-2.30.5/Source/ThirdParty/ANGLE/src/common/utilities.cpp @@ -1151,7 +1151,9 @@ switch (target) { case EGL_NATIVE_BUFFER_ANDROID: +#ifdef EGL_D3D11_TEXTURE_ANGLE case EGL_D3D11_TEXTURE_ANGLE: +#endif case EGL_LINUX_DMA_BUF_EXT: return true;