summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2018-02-14 15:58:46 -0500
committerAdam Jackson <ajax@redhat.com>2018-02-14 15:58:46 -0500
commitc1c8cf73601e0e1fee843d338b3f0f5cc0bf1c17 (patch)
tree2c8f0f4de643cfbe8f5c75b147d311e7435229cc /include
parente681f8de0cb26d5c8326616e2874d512138422d3 (diff)
glproto: Add compatibility #defines for the typos we corrected
Apparently there does exist code that uses the typoed names. Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/GL/glxproto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/GL/glxproto.h b/include/GL/glxproto.h
index b207d93..066db45 100644
--- a/include/GL/glxproto.h
+++ b/include/GL/glxproto.h
@@ -2160,6 +2160,10 @@ typedef struct {
#define X_GLXCreateContextAttribsARB 34
#define X_GLXSetClientInfo2ARB 35
+/* typo compatibility with older headers */
+#define X_GLXCreateContextAtrribsARB 34
+#define X_GLXSetConfigInfo2ARB 35
+
/* Opcodes for single commands (part of GLX command space) */
#define X_GLsop_NewList 101