version tweaks

This commit is contained in:
Brian Paul
2003-09-18 16:34:35 +00:00
parent bd3096edc3
commit 8512074b90
2 changed files with 2 additions and 2 deletions

View File

@@ -6380,7 +6380,7 @@ _mesa_GetString( GLenum name )
static const char *version_1_2 = "1.2 Mesa " MESA_VERSION_STRING; static const char *version_1_2 = "1.2 Mesa " MESA_VERSION_STRING;
static const char *version_1_3 = "1.3 Mesa " MESA_VERSION_STRING; static const char *version_1_3 = "1.3 Mesa " MESA_VERSION_STRING;
static const char *version_1_4 = "1.4 Mesa " MESA_VERSION_STRING; static const char *version_1_4 = "1.4 Mesa " MESA_VERSION_STRING;
static const char *version_1_5 = "1.5 Mesa " MESA_VERSION_STRING; static const char *version_1_5 = "1.4 Mesa " MESA_VERSION_STRING;
ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL(ctx, 0); ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL(ctx, 0);

View File

@@ -44,7 +44,7 @@
#define OPENGL_VERSION_STRING "1.4" #define OPENGL_VERSION_STRING "1.4"
/* To make version comparison easy */ /* To make version comparison easy */
#define OPENGL_VERSION(a,b) (((a) << 16) + ((b) << 8) + (c)) #define OPENGL_VERSION(a,b) (((a) << 16) + ((b) << 8) + (0))
#define OPENGL_VERSION_CODE OPENGL_VERSION(OPENGL_MAJOR, OPENGL_MINOR) #define OPENGL_VERSION_CODE OPENGL_VERSION(OPENGL_MAJOR, OPENGL_MINOR)