summaryrefslogtreecommitdiff
path: root/tools/emulator/opengl/shared/OpenglOsUtils/osProcessWin.cpp
diff options
context:
space:
mode:
authorRaphael Moll <ralf@android.com>2011-05-17 11:41:30 -0700
committerRaphael Moll <ralf@android.com>2011-05-17 11:41:30 -0700
commit603b37abaca141229b40f071e73daa0177a300b5 (patch)
tree439952d9fdcdab7abb0a753ca66bdc70ba6c74ce /tools/emulator/opengl/shared/OpenglOsUtils/osProcessWin.cpp
parent4e79d11a66e73052c6d06de5a99da022b0eb7335 (diff)
Revert "this checkin supports windows OS in all Translator libs"
This reverts commit 0bf68485710cb86ec9950f64b1389889ce2974e1. This commit breaks Mca builds: development/tools/emulator/opengl/host/libs/Translator/EGL/EglImp.cpp: In function 'EGLBoolean eglChooseConfig(void*, const EGLint*, void**, EGLint, EGLint*)': development/tools/emulator/opengl/host/libs/Translator/EGL/EglImp.cpp:412: error: 'PIXEL_FORMAT_INITIALIZER' was not declared in this scope make: *** [out/host/darwin-x86/obj/SHARED_LIBRARIES/libEGL_translator_intermediates/EglImp.o] Error 1
Diffstat (limited to 'tools/emulator/opengl/shared/OpenglOsUtils/osProcessWin.cpp')
-rw-r--r--tools/emulator/opengl/shared/OpenglOsUtils/osProcessWin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/emulator/opengl/shared/OpenglOsUtils/osProcessWin.cpp b/tools/emulator/opengl/shared/OpenglOsUtils/osProcessWin.cpp
index 6ff0fdf51..de7a3f73e 100644
--- a/tools/emulator/opengl/shared/OpenglOsUtils/osProcessWin.cpp
+++ b/tools/emulator/opengl/shared/OpenglOsUtils/osProcessWin.cpp
@@ -52,7 +52,7 @@ childProcess::create(const char *p_cmdLine, const char *p_startdir)
// close the thread handle we do not need it,
// keep the process handle for wait/trywait operations, will
// be closed on destruction
- CloseHandle(child->m_proc.hThread);
+ CloseHandle(m_proc.hThread);
return child;
}
@@ -60,7 +60,7 @@ childProcess::create(const char *p_cmdLine, const char *p_startdir)
childProcess::~childProcess()
{
if (m_proc.hProcess) {
- CloseHandle(m_proc.hProcess);
+ CloseHandle(child->m_proc.hProcess);
}
}