From c1c8cf73601e0e1fee843d338b3f0f5cc0bf1c17 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 14 Feb 2018 15:58:46 -0500 Subject: glproto: Add compatibility #defines for the typos we corrected Apparently there does exist code that uses the typoed names. Signed-off-by: Adam Jackson --- include/GL/glxproto.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 -- cgit v1.2.3