Merge " fixing bug in the name of GL function "glClearDepthf" --> "glClearDeapth""
This commit is contained in:
@@ -64,7 +64,7 @@ void GLDispatch::dispatchFuncs() {
|
|||||||
LOAD_GL_FUNC(glBufferSubData);
|
LOAD_GL_FUNC(glBufferSubData);
|
||||||
LOAD_GL_FUNC(glClear);
|
LOAD_GL_FUNC(glClear);
|
||||||
LOAD_GL_FUNC(glClearColor);
|
LOAD_GL_FUNC(glClearColor);
|
||||||
LOAD_GL_FUNC(glClearDepthf);
|
LOAD_GL_FUNC(glClearDepth);
|
||||||
LOAD_GL_FUNC(glClearStencil);
|
LOAD_GL_FUNC(glClearStencil);
|
||||||
LOAD_GL_FUNC(glClientActiveTexture);
|
LOAD_GL_FUNC(glClientActiveTexture);
|
||||||
LOAD_GL_FUNC(glClipPlane);
|
LOAD_GL_FUNC(glClipPlane);
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ public:
|
|||||||
void (GLAPIENTRY *glBufferSubData) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
|
void (GLAPIENTRY *glBufferSubData) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
|
||||||
void (GLAPIENTRY *glClear) (GLbitfield mask);
|
void (GLAPIENTRY *glClear) (GLbitfield mask);
|
||||||
void (GLAPIENTRY *glClearColor) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
|
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 *glClearStencil) (GLint s);
|
||||||
void (GLAPIENTRY *glClientActiveTexture) ( GLenum texture );
|
void (GLAPIENTRY *glClientActiveTexture) ( GLenum texture );
|
||||||
void (GLAPIENTRY *glClipPlane) (GLenum plane, const GLdouble *equation);
|
void (GLAPIENTRY *glClipPlane) (GLenum plane, const GLdouble *equation);
|
||||||
|
|||||||
@@ -284,12 +284,12 @@ GL_API void GL_APIENTRY glClearColorx( GLclampx red, GLclampx green, GLclampx b
|
|||||||
|
|
||||||
GL_API void GL_APIENTRY glClearDepthf( GLclampf depth) {
|
GL_API void GL_APIENTRY glClearDepthf( GLclampf depth) {
|
||||||
GET_CTX()
|
GET_CTX()
|
||||||
ctx->dispatcher().glClearDepthf(depth);
|
ctx->dispatcher().glClearDepth(depth);
|
||||||
}
|
}
|
||||||
|
|
||||||
GL_API void GL_APIENTRY glClearDepthx( GLclampx depth) {
|
GL_API void GL_APIENTRY glClearDepthx( GLclampx depth) {
|
||||||
GET_CTX()
|
GET_CTX()
|
||||||
ctx->dispatcher().glClearDepthf(X2F(depth));
|
ctx->dispatcher().glClearDepth(X2F(depth));
|
||||||
}
|
}
|
||||||
|
|
||||||
GL_API void GL_APIENTRY glClearStencil( GLint s) {
|
GL_API void GL_APIENTRY glClearStencil( GLint s) {
|
||||||
|
|||||||
Reference in New Issue
Block a user