GLUT_WINDOW_HEADER_HEIGHT should always have been GLUT_WINDOW_BORDER_HEIGHT.
authorDiederick Niehorster <dcnieho@gmail.com>
Tue, 25 Sep 2012 07:39:13 +0000 (07:39 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Tue, 25 Sep 2012 07:39:13 +0000 (07:39 +0000)
Adding the second, keeping the first for backward compatibility

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1389 7f0cb862-5218-0410-a997-914c9d46530a

include/GL/freeglut_ext.h

index 0597c0f..98bb9d7 100644 (file)
@@ -74,7 +74,8 @@
 #define  GLUT_ACTION_ON_WINDOW_CLOSE        0x01F9
 
 #define  GLUT_WINDOW_BORDER_WIDTH           0x01FA
-#define  GLUT_WINDOW_HEADER_HEIGHT          0x01FB
+#define  GLUT_WINDOW_BORDER_HEIGHT          0x01FB
+#define  GLUT_WINDOW_HEADER_HEIGHT          0x01FB  /* Docs say it should always have been GLUT_WINDOW_BORDER_HEIGHT, keep this for backward compatibility */
 
 #define  GLUT_VERSION                       0x01FC