am 6aca3d9f: emulator: opengl: add missing EGLDisplay destructor
* commit '6aca3d9f7c8e637ec253ca1d501d8b91d3e63770': emulator: opengl: add missing EGLDisplay destructor
This commit is contained in:
committed by
Android Git Automerger
commit
0bf9070ec5
@@ -70,6 +70,11 @@ eglDisplay::eglDisplay() :
|
|||||||
pthread_mutex_init(&m_lock, NULL);
|
pthread_mutex_init(&m_lock, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
eglDisplay::~eglDisplay()
|
||||||
|
{
|
||||||
|
pthread_mutex_destroy(&m_lock);
|
||||||
|
}
|
||||||
|
|
||||||
bool eglDisplay::initialize(EGLClient_eglInterface *eglIface)
|
bool eglDisplay::initialize(EGLClient_eglInterface *eglIface)
|
||||||
{
|
{
|
||||||
pthread_mutex_lock(&m_lock);
|
pthread_mutex_lock(&m_lock);
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ class eglDisplay
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
eglDisplay();
|
eglDisplay();
|
||||||
|
~eglDisplay();
|
||||||
|
|
||||||
bool initialize(EGLClient_eglInterface *eglIface);
|
bool initialize(EGLClient_eglInterface *eglIface);
|
||||||
void terminate();
|
void terminate();
|
||||||
|
|||||||
Reference in New Issue
Block a user