summaryrefslogtreecommitdiff
path: root/include/GL
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2018-06-16 09:16:52 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2018-06-16 09:16:52 -0700
commiteb28f0378fadd0d143aad7ec16f7b91814faae9a (patch)
treef667d542b0e6fd47b0f23afe6121c14a0e6ae01a /include/GL
parent91c1c8e1490c970379efb16784003426faec806e (diff)
Remove trailing whitespace from header files
Performed with: find include -name '*.h' | xargs perl -i -p -e 's{[ \t]+$}{}' "git diff -w" shows no changes from this changeset. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'include/GL')
-rw-r--r--include/GL/glxint.h4
-rw-r--r--include/GL/glxmd.h2
-rw-r--r--include/GL/glxproto.h8
-rw-r--r--include/GL/glxtokens.h14
-rw-r--r--include/GL/internal/glcore.h6
5 files changed, 17 insertions, 17 deletions
diff --git a/include/GL/glxint.h b/include/GL/glxint.h
index 9da4910..44c9e9e 100644
--- a/include/GL/glxint.h
+++ b/include/GL/glxint.h
@@ -73,7 +73,7 @@ struct __GLXvisualConfigRec {
** we require 2 words across the wire. In order to maintain backwards
** compatibility, we need to send the total number of words that the
** VisualConfigs are sent back in so old libraries can simply "ignore"
-** the new properties.
+** the new properties.
*/
#define __GLX_TOTAL_CONFIG (__GLX_MIN_CONFIG_PROPS + \
2 * __GLX_EXT_CONFIG_PROPS)
@@ -98,7 +98,7 @@ struct __GLXFBConfigRec {
int visualSelectGroup; /* visuals grouped by select priority */
- unsigned int id;
+ unsigned int id;
GLboolean rgbMode;
GLboolean colorIndexMode;
diff --git a/include/GL/glxmd.h b/include/GL/glxmd.h
index 96c07db..8ff9c1b 100644
--- a/include/GL/glxmd.h
+++ b/include/GL/glxmd.h
@@ -45,7 +45,7 @@ typedef double FLOAT64;
/*
** Like B32, but this is used to store floats in a request.
**
-** NOTE: Machines that have a native 32-bit IEEE float can define this as
+** NOTE: Machines that have a native 32-bit IEEE float can define this as
** nothing. Machines that don't might mimic the float with an integer,
** and then define this to :32.
*/
diff --git a/include/GL/glxproto.h b/include/GL/glxproto.h
index 066db45..2766bf8 100644
--- a/include/GL/glxproto.h
+++ b/include/GL/glxproto.h
@@ -1303,7 +1303,7 @@ typedef struct {
* CARD32 versions[4] = { 2, 1, 3, 0 };
*
* says that the client supports OpenGL 2.1 and OpenGL 3.0.
- *
+ *
* These are followed by \c numGLExtensionBytes bytes of \c STRING8 containing
* the OpenGL extension string supported by the client and up to 3 bytes of
* padding.
@@ -1744,7 +1744,7 @@ typedef struct {
* order:
* - Render or RenderLarge header
* - CompressedTexImage header
- *
+ *
* When a \c glCompressedTexImage1D call is made, the \c height field is
* not examined by the server and is considered padding.
*/
@@ -1786,7 +1786,7 @@ typedef struct {
* order:
* - Render or RenderLarge header
* - CompressedTexSubImage header
- *
+ *
* When a \c glCompressedTexSubImage1D call is made, the \c yoffset and
* \c height fields are not examined by the server and are considered padding.
*/
@@ -2105,7 +2105,7 @@ typedef struct {
#define GLX_VIDEO_SOURCE_TYPE 3
#define GLX_PBUFFER_TYPE 4
/* 5 is for DM_PBUFFER */
-#define GLX_GLXWINDOW_TYPE 6
+#define GLX_GLXWINDOW_TYPE 6
/*****************************************************************************/
diff --git a/include/GL/glxtokens.h b/include/GL/glxtokens.h
index a95082e..ff3bd45 100644
--- a/include/GL/glxtokens.h
+++ b/include/GL/glxtokens.h
@@ -264,14 +264,14 @@ extern "C" {
#define GLX_FRONT_EXT GLX_FRONT_LEFT_EXT
#define GLX_BACK_EXT GLX_BACK_LEFT_EXT
#define GLX_AUX0_EXT 0x20E2
-#define GLX_AUX1_EXT 0x20E3
-#define GLX_AUX2_EXT 0x20E4
-#define GLX_AUX3_EXT 0x20E5
-#define GLX_AUX4_EXT 0x20E6
-#define GLX_AUX5_EXT 0x20E7
+#define GLX_AUX1_EXT 0x20E3
+#define GLX_AUX2_EXT 0x20E4
+#define GLX_AUX3_EXT 0x20E5
+#define GLX_AUX4_EXT 0x20E6
+#define GLX_AUX5_EXT 0x20E7
#define GLX_AUX6_EXT 0x20E8
-#define GLX_AUX7_EXT 0x20E9
-#define GLX_AUX8_EXT 0x20EA
+#define GLX_AUX7_EXT 0x20E9
+#define GLX_AUX8_EXT 0x20EA
#define GLX_AUX9_EXT 0x20EB
/*
diff --git a/include/GL/internal/glcore.h b/include/GL/internal/glcore.h
index 547b111..3879727 100644
--- a/include/GL/internal/glcore.h
+++ b/include/GL/internal/glcore.h
@@ -58,11 +58,11 @@ typedef struct __GLcontextRec __GLcontext;
* kept around in the context so that values can be used during
* command execution, and for returning information about the
* context to the application.
- *
+ *
* Instances of this structure are shared by the driver and the loader. To
* maintain binary compatability, new fields \b must be added only to the
* end of the structure.
- *
+ *
* \sa _gl_context_modes_create
*/
typedef struct __GLcontextModesRec {
@@ -95,7 +95,7 @@ typedef struct __GLcontextModesRec {
/* GLX */
GLint visualID;
- GLint visualType; /**< One of the GLX X visual types. (i.e.,
+ GLint visualType; /**< One of the GLX X visual types. (i.e.,
* \c GLX_TRUE_COLOR, etc.)
*/