mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
mesa: print Compatibility Profile in the version string
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
d3a87537dd
commit
27a9f27310
1 changed files with 3 additions and 1 deletions
|
|
@ -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)" : ""
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue