Skip to content

Commit

Permalink
Fix typo when loading opengl_callback_error_dialog from config file
Browse files Browse the repository at this point in the history
  • Loading branch information
kavika13 committed Mar 16, 2024
1 parent 880ebbb commit 174e19e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Graphics/graphics.cpp
Expand Up @@ -1087,7 +1087,7 @@ void Graphics::InitScreen() {
FatalError("Error", "No support for S3TC DXT5 textures detected. This means either your GPU is too old to run the game, or your drivers are out-of-date");
}

bool g_opengl_callback_error_dialog = config["opengl_callback_error_dialoge"].toNumber<bool>();
bool g_opengl_callback_error_dialog = config["opengl_callback_error_dialog"].toNumber<bool>();

if (config["opengl_callback_errors"].toNumber<bool>()) {
LOGI << "Activating OpenGL callback errors, [opengl_callback_errors]" << std::endl;
Expand Down

0 comments on commit 174e19e

Please sign in to comment.