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"
This commit is contained in:
David Turner
2011-05-17 06:17:24 -07:00
committed by Android Git Automerger
3 changed files with 4 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ void GLDispatch::dispatchFuncs() {
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);

View File

@@ -41,7 +41,7 @@ public:
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);

View File

@@ -284,12 +284,12 @@ GL_API void GL_APIENTRY glClearColorx( GLclampx red, GLclampx green, GLclampx b
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) {