aboutsummaryrefslogtreecommitdiff
path: root/src/libANGLE/EGLSync.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libANGLE/EGLSync.h')
-rw-r--r--src/libANGLE/EGLSync.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libANGLE/EGLSync.h b/src/libANGLE/EGLSync.h
index 7fa32c9837..3082c702ab 100644
--- a/src/libANGLE/EGLSync.h
+++ b/src/libANGLE/EGLSync.h
@@ -29,10 +29,10 @@ class Context;
namespace egl
{
-class Sync final : public angle::RefCountObject<Display, angle::Result>, public LabeledObject
+class Sync final : public LabeledObject
{
public:
- Sync(rx::EGLImplFactory *factory, const SyncID &id, EGLenum type);
+ Sync(rx::EGLImplFactory *factory, EGLenum type);
~Sync() override;
void setLabel(EGLLabelKHR label) override;
@@ -40,10 +40,11 @@ class Sync final : public angle::RefCountObject<Display, angle::Result>, public
const SyncID &id() const { return mId; }
- void onDestroy(const Display *display) override;
+ void onDestroy(const Display *display);
Error initialize(const Display *display,
const gl::Context *context,
+ const SyncID &id,
const AttributeMap &attribs);
Error clientWait(const Display *display,
const gl::Context *context,