Print name of Vulkan rendering method on startup

This helps troubleshooting as the CLI logs now distinguish between
Forward+ and Forward Mobile.
This commit is contained in:
Hugo Locurcio
2023-02-02 22:02:41 +01:00
parent 1ed549e64b
commit f3e8300b50
2 changed files with 9 additions and 2 deletions

View File

@@ -179,7 +179,7 @@ typedef void (*DEBUGPROCARB)(GLenum source,
typedef void (*DebugMessageCallbackARB)(DEBUGPROCARB callback, const void *userParam);
void RasterizerGLES3::initialize() {
print_line("OpenGL Renderer: " + RS::get_singleton()->get_video_adapter_name());
print_line(vformat("OpenGL API %s - Compatibility - Using Device: %s - %s", RS::get_singleton()->get_video_adapter_api_version(), RS::get_singleton()->get_video_adapter_vendor(), RS::get_singleton()->get_video_adapter_name()));
}
void RasterizerGLES3::finalize() {