Fix -Wreturn-type warnings in the GL stub

no return statement in function returning non-void
This commit is contained in:
dhewg 2011-12-09 22:18:07 +01:00
parent 59ba59c46d
commit 98eed69848

View file

@ -32,7 +32,7 @@ If you have questions concerning this license or the applicable additional terms
void glAccum(GLenum op, GLfloat value){};
void glAlphaFunc(GLenum func, GLclampf ref){};
GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences){};
GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences){ return false; };
void glArrayElement(GLint i){};
void glBegin(GLenum mode){};
void glBindTexture(GLenum target, GLuint texture){};
@ -184,9 +184,9 @@ void glIndexub(GLubyte c){};
void glIndexubv(const GLubyte *c){};
void glInitNames(void){};
void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer){};
GLboolean glIsEnabled(GLenum cap){};
GLboolean glIsList(GLuint list){};
GLboolean glIsTexture(GLuint texture){};
GLboolean glIsEnabled(GLenum cap){ return false; };
GLboolean glIsList(GLuint list){ return false; };
GLboolean glIsTexture(GLuint texture){ return false; };
void glLightModelf(GLenum pname, GLfloat param){};
void glLightModelfv(GLenum pname, const GLfloat *params){};
void glLightModeli(GLenum pname, GLint param){};
@ -287,7 +287,7 @@ void glRecti(GLint x1, GLint y1, GLint x2, GLint y2){};
void glRectiv(const GLint *v1, const GLint *v2){};
void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2){};
void glRectsv(const GLshort *v1, const GLshort *v2){};
GLint glRenderMode(GLenum mode){};
GLint glRenderMode(GLenum mode){ return 0; };
void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z){};
void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z){};
void glScaled(GLdouble x, GLdouble y, GLdouble z){};