diff --git a/src/drawcontext.cpp b/src/drawcontext.cpp index 12dc61e..54f7a53 100644 --- a/src/drawcontext.cpp +++ b/src/drawcontext.cpp @@ -786,6 +786,13 @@ void glDrawBuffer(GLenum mode) mNotImplemented(); } +void glReadBuffer(GLenum mode) +{ + GL_FUNC_DEBUG("%s(0x%x)\n", __FUNCTION__, mode); + + mNotImplemented(); +} + void glClipPlane(GLenum plane, const GLdouble* equation) { GL_FUNC_DEBUG("%s(0x%x,%f)\n", __FUNCTION__, plane, equation); @@ -885,6 +892,20 @@ void glPolygonMode(GLenum face, GLenum mode) drawContext.SetPolygonMode(mode); } +void glPolygonOffset(GLfloat factor, GLfloat units) +{ + GL_FUNC_DEBUG("%s\n", __FUNCTION__); + + mNotImplemented(); +} + +void glGetPolygonStipple(GLubyte* mask) +{ + GL_FUNC_DEBUG("%s\n", __FUNCTION__); + + mNotImplemented(); +} + /******************************************** * ps2gl api */ diff --git a/src/lighting.cpp b/src/lighting.cpp index 5b6c283..555760a 100644 --- a/src/lighting.cpp +++ b/src/lighting.cpp @@ -457,6 +457,13 @@ void glGetLightfv(GLenum light, GLenum pname, float* params) mNotImplemented(); } +void glFogi(GLenum pname, GLfloat param) +{ + GL_FUNC_DEBUG("%s\n", __FUNCTION__); + + mNotImplemented(); +} + void glFogf(GLenum pname, GLfloat param) { GL_FUNC_DEBUG("%s\n", __FUNCTION__); @@ -470,3 +477,10 @@ void glFogfv(GLenum pname, const GLfloat* params) mNotImplemented(); } + +void glFogiv(GLenum pname, const GLint* params) +{ + GL_FUNC_DEBUG("%s\n", __FUNCTION__); + + mNotImplemented(); +}