include/SDL_opengles.h
changeset 3139 7f684f249ec9
parent 3118 5ba12c32ac6a
child 3407 d3baf5ac4e37
--- a/include/SDL_opengles.h	Fri May 15 15:47:37 2009 +0000
+++ b/include/SDL_opengles.h	Sat May 23 22:41:08 2009 +0000
@@ -50,7 +50,7 @@
 
 #ifndef GL_API
 #define GL_API
-#endif /* GL_API */
+#endif                          /* GL_API */
 
 /*
 ** License Applicability. Except to the extent portions of this file are
@@ -347,10 +347,10 @@
 /* OpenGL ES 1.0 defines, they gone in 1.1 and 2.0 */
 #ifndef GL_MAX_ELEMENTS_VERTICES
 #define GL_MAX_ELEMENTS_VERTICES          0x80E8
-#endif /* GL_MAX_ELEMENTS_VERTICES */
+#endif                          /* GL_MAX_ELEMENTS_VERTICES */
 #ifndef GL_MAX_ELEMENTS_INDICES
 #define GL_MAX_ELEMENTS_INDICES           0x80E9
-#endif /* GL_MAX_ELEMENTS_INDICES */
+#endif                          /* GL_MAX_ELEMENTS_INDICES */
 
 /* GetTextureParameter */
 /*      GL_TEXTURE_MAG_FILTER */
@@ -669,7 +669,7 @@
 /* GL_OES_draw_texture */
 #ifndef GL_OES_draw_texture
 #define GL_TEXTURE_CROP_RECT_OES                                0x8B9D
-#endif /* GL_OES_draw_texture */
+#endif                          /* GL_OES_draw_texture */
 
 /*  GL_OES_vertex_buffer_object */
 #ifndef GL_OES_vertex_buffer_object
@@ -687,7 +687,7 @@
 #define GL_BUFFER_SIZE_OES                                      0x8764
 #define GL_BUFFER_USAGE_OES                                     0x8765
 #define GL_BUFFER_ACCESS_OES                                    0x88BB
-#endif /* GL_OES_vertex_buffer_object */
+#endif                          /* GL_OES_vertex_buffer_object */
 
 /*************************************************************/
 
@@ -973,8 +973,9 @@
 /* GL_OES_query_matrix */
 #ifndef GL_OES_query_matrix
 #define GL_OES_query_matrix 1
-    GL_API GLbitfield GL_APIENTRY glQueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]);
-#endif /* GL_OES_query_matrix */
+    GL_API GLbitfield GL_APIENTRY glQueryMatrixxOES(GLfixed mantissa[16],
+                                                    GLint exponent[16]);
+#endif                          /* GL_OES_query_matrix */
 
 /* GL_OES_point_sprite */
 #ifndef GL_OES_point_sprite
@@ -984,26 +985,35 @@
 /* GL_OES_draw_texture */
 #ifndef GL_OES_draw_texture
 #define GL_OES_draw_texture 1
-    GL_API void GL_APIENTRY glDrawTexsOES (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);
-    GL_API void GL_APIENTRY glDrawTexiOES (GLint x, GLint y, GLint z, GLint width, GLint height);
-    GL_API void GL_APIENTRY glDrawTexxOES (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
-    GL_API void GL_APIENTRY glDrawTexsvOES (const GLshort *coords);
-    GL_API void GL_APIENTRY glDrawTexivOES (const GLint *coords);
-    GL_API void GL_APIENTRY glDrawTexxvOES (const GLfixed *coords);
-    GL_API void GL_APIENTRY glDrawTexfOES (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);
-    GL_API void GL_APIENTRY glDrawTexfvOES (const GLfloat *coords);
-#endif /* GL_OES_draw_texture */
+    GL_API void GL_APIENTRY glDrawTexsOES(GLshort x, GLshort y, GLshort z,
+                                          GLshort width, GLshort height);
+    GL_API void GL_APIENTRY glDrawTexiOES(GLint x, GLint y, GLint z,
+                                          GLint width, GLint height);
+    GL_API void GL_APIENTRY glDrawTexxOES(GLfixed x, GLfixed y, GLfixed z,
+                                          GLfixed width, GLfixed height);
+    GL_API void GL_APIENTRY glDrawTexsvOES(const GLshort * coords);
+    GL_API void GL_APIENTRY glDrawTexivOES(const GLint * coords);
+    GL_API void GL_APIENTRY glDrawTexxvOES(const GLfixed * coords);
+    GL_API void GL_APIENTRY glDrawTexfOES(GLfloat x, GLfloat y, GLfloat z,
+                                          GLfloat width, GLfloat height);
+    GL_API void GL_APIENTRY glDrawTexfvOES(const GLfloat * coords);
+#endif                          /* GL_OES_draw_texture */
 
 /* GL_OES_single_precision */
 #ifndef GL_OES_single_precision
 #define GL_OES_single_precision 1
-    GL_API void GL_APIENTRY glDepthRangefOES (GLclampf zNear, GLclampf zFar);
-    GL_API void GL_APIENTRY glFrustumfOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
-    GL_API void GL_APIENTRY glOrthofOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
-    GL_API void GL_APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
-    GL_API void GL_APIENTRY glGetClipPlanefOES (GLenum pname, GLfloat eqn[4]);
-    GL_API void GL_APIENTRY glClearDepthfOES (GLclampf depth);
-#endif /* GL_OES_single_precision */
+    GL_API void GL_APIENTRY glDepthRangefOES(GLclampf zNear, GLclampf zFar);
+    GL_API void GL_APIENTRY glFrustumfOES(GLfloat left, GLfloat right,
+                                          GLfloat bottom, GLfloat top,
+                                          GLfloat zNear, GLfloat zFar);
+    GL_API void GL_APIENTRY glOrthofOES(GLfloat left, GLfloat right,
+                                        GLfloat bottom, GLfloat top,
+                                        GLfloat zNear, GLfloat zFar);
+    GL_API void GL_APIENTRY glClipPlanefOES(GLenum plane,
+                                            const GLfloat * equation);
+    GL_API void GL_APIENTRY glGetClipPlanefOES(GLenum pname, GLfloat eqn[4]);
+    GL_API void GL_APIENTRY glClearDepthfOES(GLclampf depth);
+#endif                          /* GL_OES_single_precision */
 
 /* GL_OES_vertex_buffer_object */
 #ifndef GL_OES_vertex_buffer_object
@@ -1012,10 +1022,12 @@
     GL_API void APIENTRY glDeleteBuffersOES(GLsizei, const GLuint *);
     GL_API void APIENTRY glGenBuffersOES(GLsizei, GLuint *);
     GL_API GLboolean APIENTRY glIsBufferOES(GLuint);
-    GL_API void APIENTRY glBufferDataOES(GLenum, GLsizeiptr, const GLvoid *, GLenum);
-    GL_API void APIENTRY glBufferSubDataOES(GLenum, GLintptr, GLsizeiptr, const GLvoid *);
+    GL_API void APIENTRY glBufferDataOES(GLenum, GLsizeiptr, const GLvoid *,
+                                         GLenum);
+    GL_API void APIENTRY glBufferSubDataOES(GLenum, GLintptr, GLsizeiptr,
+                                            const GLvoid *);
     GL_API void APIENTRY glGetBufferParameterivOES(GLenum, GLenum, GLint *);
-#endif /* GL_OES_vertex_buffer_object */
+#endif                          /* GL_OES_vertex_buffer_object */
 
 #ifdef __cplusplus
 }