diff options
Diffstat (limited to 'src/mesa/main/version.h')
-rw-r--r-- | src/mesa/main/version.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/main/version.h b/src/mesa/main/version.h index a8c3dfc03a5..371a6e59a1b 100644 --- a/src/mesa/main/version.h +++ b/src/mesa/main/version.h @@ -41,11 +41,12 @@ /* OpenGL API version */ #define OPENGL_MAJOR 1 #define OPENGL_MINOR 4 +#define OPENGL_PATCH 0 #define OPENGL_VERSION_STRING "1.4" /* To make version comparison easy */ -#define OPENGL_VERSION(a,b) (((a) << 16) + ((b) << 8) + (0)) -#define OPENGL_VERSION_CODE OPENGL_VERSION(OPENGL_MAJOR, OPENGL_MINOR) +#define OPENGL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) +#define OPENGL_VERSION_CODE OPENGL_VERSION(OPENGL_MAJOR, OPENGL_MINOR, OPENGL_PATCH) #endif /* VERSION_H */ |