From 0fe2ab66892f55d40111101a98f92df13f51b43d Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Wed, 14 Aug 2024 18:38:15 +1000 Subject: [PATCH] oops --- src/Graphics_GL2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Graphics_GL2.c b/src/Graphics_GL2.c index 4994a81f1..27c100f88 100644 --- a/src/Graphics_GL2.c +++ b/src/Graphics_GL2.c @@ -601,6 +601,8 @@ static void Gfx_RestoreState(void) { } cc_bool Gfx_WarnIfNecessary(void) { + cc_string renderer = String_FromReadonly((const char*)glGetString(GL_RENDERER)); + if (String_ContainsConst(&renderer, "llvmpipe")) { Chat_AddRaw("&cSoftware rendering is being used, performance will greatly suffer."); Chat_AddRaw("&cVSync may also not work.");