am 4e79d11a: Merge " fixing bug in the name of GL function "glClearDepthf" --> "glClearDeapth""
* commit '4e79d11a66e73052c6d06de5a99da022b0eb7335':
fixing bug in the name of GL function "glClearDepthf" --> "glClearDeapth"
diff --git a/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLDispatch.cpp b/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLDispatch.cpp
index 3c5be61..af5c0d8 100644
--- a/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLDispatch.cpp
+++ b/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLDispatch.cpp
@@ -64,7 +64,7 @@
LOAD_GL_FUNC(glBufferSubData);
LOAD_GL_FUNC(glClear);
LOAD_GL_FUNC(glClearColor);
- LOAD_GL_FUNC(glClearDepthf);
+ LOAD_GL_FUNC(glClearDepth);
LOAD_GL_FUNC(glClearStencil);
LOAD_GL_FUNC(glClientActiveTexture);
LOAD_GL_FUNC(glClipPlane);
diff --git a/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLDispatch.h b/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLDispatch.h
index af15183..9dc320f 100644
--- a/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLDispatch.h
+++ b/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLDispatch.h
@@ -41,7 +41,7 @@
void (GLAPIENTRY *glBufferSubData) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
void (GLAPIENTRY *glClear) (GLbitfield mask);
void (GLAPIENTRY *glClearColor) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
- void (GLAPIENTRY *glClearDepthf) (GLclampd depth);
+ void (GLAPIENTRY *glClearDepth) (GLclampd depth);
void (GLAPIENTRY *glClearStencil) (GLint s);
void (GLAPIENTRY *glClientActiveTexture) ( GLenum texture );
void (GLAPIENTRY *glClipPlane) (GLenum plane, const GLdouble *equation);
diff --git a/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLESimp.cpp b/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLESimp.cpp
index 7a66b18..d37791f 100644
--- a/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLESimp.cpp
+++ b/tools/emulator/opengl/host/libs/Translator/GLES_CM/GLESimp.cpp
@@ -284,12 +284,12 @@
GL_API void GL_APIENTRY glClearDepthf( GLclampf depth) {
GET_CTX()
- ctx->dispatcher().glClearDepthf(depth);
+ ctx->dispatcher().glClearDepth(depth);
}
GL_API void GL_APIENTRY glClearDepthx( GLclampx depth) {
GET_CTX()
- ctx->dispatcher().glClearDepthf(X2F(depth));
+ ctx->dispatcher().glClearDepth(X2F(depth));
}
GL_API void GL_APIENTRY glClearStencil( GLint s) {