Commit a9bbf6df by Geoff Lang Committed by Commit Bot

Fix warnings in standalone linux build.

BUG=angleproject:3559 Change-Id: Ib57b40d6f6b488549c5746a4e2d40e6fba6bcd4f Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1676306Reviewed-by: 's avatarJonah Ryan-Davis <jonahr@google.com> Commit-Queue: Geoff Lang <geofflang@chromium.org>
parent 0fd917a2
...@@ -19,7 +19,7 @@ class ExternalImageSiblingEGL : public ExternalImageSiblingImpl ...@@ -19,7 +19,7 @@ class ExternalImageSiblingEGL : public ExternalImageSiblingImpl
{ {
public: public:
ExternalImageSiblingEGL() {} ExternalImageSiblingEGL() {}
virtual ~ExternalImageSiblingEGL() {} ~ExternalImageSiblingEGL() override {}
virtual EGLClientBuffer getBuffer() const = 0; virtual EGLClientBuffer getBuffer() const = 0;
}; };
......
...@@ -487,7 +487,7 @@ egl::Error DisplayOzone::initialize(egl::Display *display) ...@@ -487,7 +487,7 @@ egl::Error DisplayOzone::initialize(egl::Display *display)
"EGL_EXT_image_dma_buf_import", "EGL_EXT_image_dma_buf_import",
"EGL_KHR_surfaceless_context", "EGL_KHR_surfaceless_context",
}; };
for (auto &ext : necessaryExtensions) for (const char *ext : necessaryExtensions)
{ {
if (!mEGL->hasExtension(ext)) if (!mEGL->hasExtension(ext))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment