emulator: opengl: add missing EGLDisplay destructor

Change-Id: I788904a597b7929a7fc7a5db3cf5baa79b9f1936
This commit is contained in:
David 'Digit' Turner
2011-09-19 13:58:12 +02:00
parent 8abfab1baf
commit 6aca3d9f7c
2 changed files with 6 additions and 0 deletions

View File

@@ -70,6 +70,11 @@ eglDisplay::eglDisplay() :
pthread_mutex_init(&m_lock, NULL);
}
eglDisplay::~eglDisplay()
{
pthread_mutex_destroy(&m_lock);
}
bool eglDisplay::initialize(EGLClient_eglInterface *eglIface)
{
pthread_mutex_lock(&m_lock);

View File

@@ -33,6 +33,7 @@ class eglDisplay
{
public:
eglDisplay();
~eglDisplay();
bool initialize(EGLClient_eglInterface *eglIface);
void terminate();