src/video/SDL_glfuncs.h
changeset 1927 aeb8263d377a
parent 1895 c121d94672cb
child 1985 8055185ae4ed
     1.1 --- a/src/video/SDL_glfuncs.h	Sat Jul 22 21:58:17 2006 +0000
     1.2 +++ b/src/video/SDL_glfuncs.h	Sat Jul 22 23:04:41 2006 +0000
     1.3 @@ -16,9 +16,9 @@
     1.4  SDL_PROC(void, glBlendFunc, (GLenum, GLenum))
     1.5  SDL_PROC_UNUSED(void, glCallList, (GLuint))
     1.6  SDL_PROC_UNUSED(void, glCallLists, (GLsizei, GLenum, const GLvoid *))
     1.7 -SDL_PROC_UNUSED(void, glClear, (GLbitfield))
     1.8 +SDL_PROC(void, glClear, (GLbitfield))
     1.9  SDL_PROC_UNUSED(void, glClearAccum, (GLfloat, GLfloat, GLfloat, GLfloat))
    1.10 -SDL_PROC_UNUSED(void, glClearColor, (GLclampf, GLclampf, GLclampf, GLclampf))
    1.11 +SDL_PROC(void, glClearColor, (GLclampf, GLclampf, GLclampf, GLclampf))
    1.12  SDL_PROC_UNUSED(void, glClearDepth, (GLclampd))
    1.13  SDL_PROC_UNUSED(void, glClearIndex, (GLfloat))
    1.14  SDL_PROC_UNUSED(void, glClearStencil, (GLint))
    1.15 @@ -33,7 +33,7 @@
    1.16  SDL_PROC_UNUSED(void, glColor3iv, (const GLint *))
    1.17  SDL_PROC_UNUSED(void, glColor3s, (GLshort, GLshort, GLshort))
    1.18  SDL_PROC_UNUSED(void, glColor3sv, (const GLshort *))
    1.19 -SDL_PROC(void, glColor3ub, (GLubyte, GLubyte, GLubyte))
    1.20 +SDL_PROC_UNUSED(void, glColor3ub, (GLubyte, GLubyte, GLubyte))
    1.21  SDL_PROC_UNUSED(void, glColor3ubv, (const GLubyte *))
    1.22  SDL_PROC_UNUSED(void, glColor3ui, (GLuint, GLuint, GLuint))
    1.23  SDL_PROC_UNUSED(void, glColor3uiv, (const GLuint *))
    1.24 @@ -43,14 +43,14 @@
    1.25  SDL_PROC_UNUSED(void, glColor4bv, (const GLbyte *))
    1.26  SDL_PROC_UNUSED(void, glColor4d, (GLdouble, GLdouble, GLdouble, GLdouble))
    1.27  SDL_PROC_UNUSED(void, glColor4dv, (const GLdouble *))
    1.28 -SDL_PROC(void, glColor4f, (GLfloat, GLfloat, GLfloat, GLfloat))
    1.29 +SDL_PROC_UNUSED(void, glColor4f, (GLfloat, GLfloat, GLfloat, GLfloat))
    1.30  SDL_PROC_UNUSED(void, glColor4fv, (const GLfloat *))
    1.31  SDL_PROC_UNUSED(void, glColor4i, (GLint, GLint, GLint, GLint))
    1.32  SDL_PROC_UNUSED(void, glColor4iv, (const GLint *))
    1.33  SDL_PROC_UNUSED(void, glColor4s, (GLshort, GLshort, GLshort, GLshort))
    1.34  SDL_PROC_UNUSED(void, glColor4sv, (const GLshort *))
    1.35 -SDL_PROC(void, glColor4ub,
    1.36 -         (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha))
    1.37 +SDL_PROC_UNUSED(void, glColor4ub,
    1.38 +                (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha))
    1.39  SDL_PROC_UNUSED(void, glColor4ubv, (const GLubyte * v))
    1.40  SDL_PROC_UNUSED(void, glColor4ui,
    1.41                  (GLuint red, GLuint green, GLuint blue, GLuint alpha))
    1.42 @@ -89,7 +89,7 @@
    1.43  SDL_PROC(void, glDisable, (GLenum cap))
    1.44  SDL_PROC_UNUSED(void, glDisableClientState, (GLenum array))
    1.45  SDL_PROC_UNUSED(void, glDrawArrays, (GLenum mode, GLint first, GLsizei count))
    1.46 -SDL_PROC(void, glDrawBuffer, (GLenum mode))
    1.47 +SDL_PROC_UNUSED(void, glDrawBuffer, (GLenum mode))
    1.48  SDL_PROC_UNUSED(void, glDrawElements,
    1.49                  (GLenum mode, GLsizei count, GLenum type,
    1.50                   const GLvoid * indices))
    1.51 @@ -119,8 +119,8 @@
    1.52  SDL_PROC_UNUSED(void, glEvalPoint2, (GLint i, GLint j))
    1.53  SDL_PROC_UNUSED(void, glFeedbackBuffer,
    1.54                  (GLsizei size, GLenum type, GLfloat * buffer))
    1.55 -SDL_PROC(void, glFinish, (void))
    1.56 -SDL_PROC(void, glFlush, (void))
    1.57 +SDL_PROC_UNUSED(void, glFinish, (void))
    1.58 +SDL_PROC_UNUSED(void, glFlush, (void))
    1.59  SDL_PROC_UNUSED(void, glFogf, (GLenum pname, GLfloat param))
    1.60  SDL_PROC_UNUSED(void, glFogfv, (GLenum pname, const GLfloat * params))
    1.61  SDL_PROC_UNUSED(void, glFogi, (GLenum pname, GLint param))
    1.62 @@ -153,7 +153,7 @@
    1.63  SDL_PROC_UNUSED(void, glGetPixelMapusv, (GLenum map, GLushort * values))
    1.64  SDL_PROC_UNUSED(void, glGetPointerv, (GLenum pname, GLvoid * *params))
    1.65  SDL_PROC_UNUSED(void, glGetPolygonStipple, (GLubyte * mask))
    1.66 -SDL_PROC(const GLubyte *, glGetString, (GLenum name))
    1.67 +SDL_PROC_UNUSED(const GLubyte *, glGetString, (GLenum name))
    1.68  SDL_PROC_UNUSED(void, glGetTexEnvfv,
    1.69                  (GLenum target, GLenum pname, GLfloat * params))
    1.70  SDL_PROC_UNUSED(void, glGetTexEnviv,
    1.71 @@ -276,16 +276,16 @@
    1.72  SDL_PROC_UNUSED(void, glPolygonMode, (GLenum face, GLenum mode))
    1.73  SDL_PROC_UNUSED(void, glPolygonOffset, (GLfloat factor, GLfloat units))
    1.74  SDL_PROC_UNUSED(void, glPolygonStipple, (const GLubyte * mask))
    1.75 -SDL_PROC(void, glPopAttrib, (void))
    1.76 -SDL_PROC(void, glPopClientAttrib, (void))
    1.77 -SDL_PROC(void, glPopMatrix, (void))
    1.78 +SDL_PROC_UNUSED(void, glPopAttrib, (void))
    1.79 +SDL_PROC_UNUSED(void, glPopClientAttrib, (void))
    1.80 +SDL_PROC_UNUSED(void, glPopMatrix, (void))
    1.81  SDL_PROC_UNUSED(void, glPopName, (void))
    1.82  SDL_PROC_UNUSED(void, glPrioritizeTextures,
    1.83                  (GLsizei n, const GLuint * textures,
    1.84                   const GLclampf * priorities))
    1.85 -SDL_PROC(void, glPushAttrib, (GLbitfield mask))
    1.86 -SDL_PROC(void, glPushClientAttrib, (GLbitfield mask))
    1.87 -SDL_PROC(void, glPushMatrix, (void))
    1.88 +SDL_PROC_UNUSED(void, glPushAttrib, (GLbitfield mask))
    1.89 +SDL_PROC_UNUSED(void, glPushClientAttrib, (GLbitfield mask))
    1.90 +SDL_PROC_UNUSED(void, glPushMatrix, (void))
    1.91  SDL_PROC_UNUSED(void, glPushName, (GLuint name))
    1.92  SDL_PROC_UNUSED(void, glRasterPos2d, (GLdouble x, GLdouble y))
    1.93  SDL_PROC_UNUSED(void, glRasterPos2dv, (const GLdouble * v))
    1.94 @@ -315,9 +315,9 @@
    1.95                  (GLshort x, GLshort y, GLshort z, GLshort w))
    1.96  SDL_PROC_UNUSED(void, glRasterPos4sv, (const GLshort * v))
    1.97  SDL_PROC_UNUSED(void, glReadBuffer, (GLenum mode))
    1.98 -SDL_PROC(void, glReadPixels,
    1.99 -         (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format,
   1.100 -          GLenum type, GLvoid * pixels))
   1.101 +SDL_PROC_UNUSED(void, glReadPixels,
   1.102 +                (GLint x, GLint y, GLsizei width, GLsizei height,
   1.103 +                 GLenum format, GLenum type, GLvoid * pixels))
   1.104  SDL_PROC_UNUSED(void, glRectd,
   1.105                  (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2))
   1.106  SDL_PROC_UNUSED(void, glRectdv, (const GLdouble * v1, const GLdouble * v2))
   1.107 @@ -418,7 +418,7 @@
   1.108           (GLenum target, GLint level, GLint xoffset, GLint yoffset,
   1.109            GLsizei width, GLsizei height, GLenum format, GLenum type,
   1.110            const GLvoid * pixels))
   1.111 -SDL_PROC(void, glTranslated, (GLdouble x, GLdouble y, GLdouble z))
   1.112 +SDL_PROC_UNUSED(void, glTranslated, (GLdouble x, GLdouble y, GLdouble z))
   1.113  SDL_PROC_UNUSED(void, glTranslatef, (GLfloat x, GLfloat y, GLfloat z))
   1.114  SDL_PROC_UNUSED(void, glVertex2d, (GLdouble x, GLdouble y))
   1.115  SDL_PROC_UNUSED(void, glVertex2dv, (const GLdouble * v))
   1.116 @@ -451,4 +451,5 @@
   1.117                  (GLint size, GLenum type, GLsizei stride,
   1.118                   const GLvoid * pointer))
   1.119  SDL_PROC(void, glViewport, (GLint x, GLint y, GLsizei width, GLsizei height))
   1.120 +
   1.121  /* vi: set ts=4 sw=4 expandtab: */