Merge pull request #6822 from zOnlyKroks/bugfix/fix-graphicsmode-debug-information

Fix Graphics Mode Debug Information
This commit is contained in:
simibubi 2024-08-25 10:48:24 +02:00 committed by GitHub
commit 8f07663a93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,7 +78,7 @@ public class DebugInformation {
.put("Flywheel Backend", () -> Backend.getBackendType().toString()) .put("Flywheel Backend", () -> Backend.getBackendType().toString())
.put("OpenGL Renderer", GlUtil::getRenderer) .put("OpenGL Renderer", GlUtil::getRenderer)
.put("OpenGL Version", GlUtil::getOpenGLVersion) .put("OpenGL Version", GlUtil::getOpenGLVersion)
.put("Graphics Mode", () -> Minecraft.getInstance().options.graphicsMode.toString()) .put("Graphics Mode", () -> Minecraft.getInstance().options.graphicsMode.getKey().toString())
.buildTo(DebugInformation::registerClientInfo); .buildTo(DebugInformation::registerClientInfo);
}); });