Skip to content
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

Fix #44: ghosting on intel. GL_LINES_ADJACENCY errors. #47

Merged
merged 2 commits into from
Aug 13, 2023
Merged

Conversation

hsanjuan
Copy link
Member

See added comments in sardrawrunway.c.

Basically there is an opengl error message on my intel hardware worst of all some runway elements are ghosting all over the screen as soon as we run a ground contact check (which switches gl rendering mode to GL_SELECT for a frame).

This workaround disables rendering those elements during GL_SELECT. It seems to work mostly fine. I'm unsure that the issue is in the game but who knows.

@hsanjuan hsanjuan self-assigned this Aug 13, 2023
@hsanjuan
Copy link
Member Author

@jmbau I supposed you don't have any insights about this, perhaps ideas for an actual fix rather than workaround? OpenGL is not my forte.

@jmbau
Copy link
Collaborator

jmbau commented Aug 13, 2023

Sorry Hector, any idea about that, I can't help you :-(

See added comments in sardrawrunway.c.

Basically there is an opengl error message on my intel hardware worst of all
some runway elements are ghosting all over the screen as soon as we run a
ground contact check (which switches gl rendering mode to GL_SELECT for a
frame).

This workaround disables rendering those elements during GL_SELECT. It seems
to work mostly fine. I'm unsure that the issue is in the game but who knows.
@hsanjuan hsanjuan merged commit bab6de1 into master Aug 13, 2023
1 check passed
@hsanjuan hsanjuan deleted the ghosting branch August 13, 2023 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants