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
BACKENDS: OPENGL: Fix FakeTexture palette init. PVS-Studio V1086 #5445
Conversation
WalkthroughThe update simplifies the initialization of the Changes
TipsChat with CodeRabbit Bot (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The robot has misdiagnosed this as an optimization instead of a bugfix =) (unless the intent really was to do |
The current behavior is definitely buggy, so the proposed fix makes sense. @ccawley2011, could you provide some feedback? It seems that this was a bug that was in the code, which was refactored in commit 30c093b |
Just talked with @ccawley2011, and he agrees that this fix is correct Thanks for your feedback everyone! Merging |
Doing this as a PR because I'm not familiar with this graphics code.
Summary by CodeRabbit