aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/version.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-05-15 15:02:37 +0200
committermarha <marha@users.sourceforge.net>2012-05-15 15:02:37 +0200
commit062c45ff0df6a52080dcd74433710d47127cbe29 (patch)
treeb038a5498555dfc9adf695c49d185f9414056931 /mesalib/src/mesa/main/version.c
parent1a71b50696cc230cd055905a5f9fdbd3fa7c89af (diff)
downloadvcxsrv-062c45ff0df6a52080dcd74433710d47127cbe29.tar.gz
vcxsrv-062c45ff0df6a52080dcd74433710d47127cbe29.tar.bz2
vcxsrv-062c45ff0df6a52080dcd74433710d47127cbe29.zip
xserver mesa git update 15 May 2012
Diffstat (limited to 'mesalib/src/mesa/main/version.c')
-rw-r--r--mesalib/src/mesa/main/version.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/mesalib/src/mesa/main/version.c b/mesalib/src/mesa/main/version.c
index 607230b5e..90afecb5d 100644
--- a/mesalib/src/mesa/main/version.c
+++ b/mesalib/src/mesa/main/version.c
@@ -259,7 +259,11 @@ compute_version_es1(struct gl_context *ctx)
ctx->VersionString = (char *) malloc(max);
if (ctx->VersionString) {
_mesa_snprintf(ctx->VersionString, max,
- "OpenGL ES-CM 1.%d Mesa " MESA_VERSION_STRING,
+ "OpenGL ES-CM 1.%d Mesa " MESA_VERSION_STRING
+#ifdef MESA_GIT_SHA1
+ " (" MESA_GIT_SHA1 ")"
+#endif
+ ,
ctx->VersionMinor);
}
}
@@ -289,7 +293,11 @@ compute_version_es2(struct gl_context *ctx)
ctx->VersionString = (char *) malloc(max);
if (ctx->VersionString) {
_mesa_snprintf(ctx->VersionString, max,
- "OpenGL ES 2.0 Mesa " MESA_VERSION_STRING);
+ "OpenGL ES 2.0 Mesa " MESA_VERSION_STRING
+#ifdef MESA_GIT_SHA1
+ " (" MESA_GIT_SHA1 ")"
+#endif
+ );
}
}