Commit dae55f64 by Jamie Madill

Remove polymorphism of egl::Display.

This was causing a warning on GCC, and is no longer necessary. BUG=angle:773 Change-Id: I6cb09e79bff9035e3e38966dcad2cc7ba74701a1 Reviewed-on: https://chromium-review.googlesource.com/232944Tested-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Reviewed-by: 's avatarKenneth Russell <kbr@chromium.org>
parent 5d94a2b1
......@@ -32,7 +32,7 @@ namespace egl
{
class Surface;
class Display
class Display final
{
public:
~Display();
......@@ -67,8 +67,7 @@ class Display
rx::Renderer *getRenderer() { return mRenderer; };
// exported methods must be virtual
virtual void notifyDeviceLost();
void notifyDeviceLost();
const char *getExtensionString() const;
const char *getVendorString() const;
......
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