Commit 27a9f273 authored by Marek Olšák's avatar Marek Olšák

mesa: print Compatibility Profile in the version string

Reviewed-by: default avatarNicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: default avatarTimothy Arceri <tarceri@itsqueeze.com>
parent d3a87537
......@@ -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)" : ""
);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment