-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anti-Aliasing will not function until the graphics tab is selected #898
Comments
Can confirm this happens on Windows too. |
Ok, I've found the cause and believe I may have a solution. The lines in ImGuiImpl.cpp: are each only called in the block that begins with: and these variables are otherwise never changed by the game code. If there's a more appropriate section of the codebase to put this change instead, I'd be happy to know. |
Initializing
Either remove that line or move the initialization to gfx_init .
|
So, to be clear, are you arguing that the other line setting internal_mul to 1 ought to be replaced with CVar_GetS32("gMSAAValue", 1) given the CVars would default to 1 anyway, in which case gfx_msaa_level should be in the same |
That's what I meant. Thanks for making a PR. |
When starting up the game, even if AA is already set, it will not be applied to the game's graphics for that session until the graphics tab in the F1 menu has at least been hovered over.
Tested using develop-rachael, running on Pop!_OS 22.04 with default compiler settings.
The text was updated successfully, but these errors were encountered: