Commit a4de2657 by Geoff Lang

Mark destructors of Surface and Context as virtual.

Change-Id: If09d621cc249754caa57b057f76ff84726c18265 Reviewed-on: https://chromium-review.googlesource.com/185861Tested-by: 's avatarGeoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarShannon Woods <shannonwoods@chromium.org>
parent c6856732
...@@ -37,7 +37,7 @@ class Surface ...@@ -37,7 +37,7 @@ class Surface
Surface(Display *display, const egl::Config *config, HWND window, EGLint postSubBufferSupported); Surface(Display *display, const egl::Config *config, HWND window, EGLint postSubBufferSupported);
Surface(Display *display, const egl::Config *config, HANDLE shareHandle, EGLint width, EGLint height, EGLenum textureFormat, EGLenum textureTarget); Surface(Display *display, const egl::Config *config, HANDLE shareHandle, EGLint width, EGLint height, EGLenum textureFormat, EGLenum textureTarget);
~Surface(); virtual ~Surface();
bool initialize(); bool initialize();
void release(); void release();
......
...@@ -132,7 +132,7 @@ class Context ...@@ -132,7 +132,7 @@ class Context
public: public:
Context(int clientVersion, const gl::Context *shareContext, rx::Renderer *renderer, bool notifyResets, bool robustAccess); Context(int clientVersion, const gl::Context *shareContext, rx::Renderer *renderer, bool notifyResets, bool robustAccess);
~Context(); virtual ~Context();
void makeCurrent(egl::Surface *surface); void makeCurrent(egl::Surface *surface);
......
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