debug overlay: OpenGL version -> WebGpu for webgpu

Don't prefix the renderer info with OpenGL.
Make the per-renderer include that prefix.
This commit is contained in:
Wez Furlong committed 2023-04-17 18:09:01 -07:00
1 parent b9f6bbd495
commit bcac0bfa8f
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -203,7 +203,7 @@ pub fn show_debug_overlay(
"Debug Overlay\r\n\
wezterm version: {version} {triple}\r\n\
Window Environment: {connection_info}\r\n\
OpenGL version: {opengl_info}\r\n\
{opengl_info}\r\n\
Enter lua statements or expressions and hit Enter.\r\n\
Press ESC or CTRL-D to exit\r\n",
))])?;
+1 -1
View File
@@ -109,7 +109,7 @@ impl RenderContext {
pub fn renderer_info(&self) -> String {
match self {
Self::Glium(ctx) => format!(
"{} {}",
"OpenGL: {} {}",
ctx.get_opengl_renderer_string(),
ctx.get_opengl_version_string()
),