aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/main/version.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c
index 3f3dff0bde3..1bdccf4a1df 100644
--- a/src/mesa/main/version.c
+++ b/src/mesa/main/version.c
@@ -128,7 +128,9 @@ create_version_string(struct gl_context *ctx, const char *prefix)
,
prefix,
ctx->Version / 10, ctx->Version % 10,
- (ctx->API == API_OPENGL_CORE) ? " (Core Profile)" : ""
+ (ctx->API == API_OPENGL_CORE) ? " (Core Profile)" :
+ (ctx->API == API_OPENGL_COMPAT && ctx->Version >= 32) ?
+ " (Compatibility Profile)" : ""
);
}
}