aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/version.h')
-rw-r--r--src/mesa/main/version.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/version.h b/src/mesa/main/version.h
index 4205c5c6644..a8c3dfc03a5 100644
--- a/src/mesa/main/version.h
+++ b/src/mesa/main/version.h
@@ -44,7 +44,7 @@
#define OPENGL_VERSION_STRING "1.4"
/* 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)