am bb1e1356: am f90030a9: am 0bf9070e: am 6aca3d9f: emulator: opengl: add missing EGLDisplay destructor
* commit 'bb1e135697d9559f5f0c6774372d6e29aefb5271': emulator: opengl: add missing EGLDisplay destructor
This commit is contained in:
committed by
Android Git Automerger
commit
9a8bfaf9d1
@@ -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);
|
||||
|
||||
@@ -33,6 +33,7 @@ class eglDisplay
|
||||
{
|
||||
public:
|
||||
eglDisplay();
|
||||
~eglDisplay();
|
||||
|
||||
bool initialize(EGLClient_eglInterface *eglIface);
|
||||
void terminate();
|
||||
|
||||
Reference in New Issue
Block a user