Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Remove support for GL_POINT_SMOOTH and GL_LINE_SMOOTH antialiasing #289

Merged
merged 2 commits into from
Feb 17, 2024

Conversation

HybridDog
Copy link
Contributor

These antialiasing techniques have been removed in OpenGL 3.1, they were often executed by the CPU, and Minetest does not use them. The OpenGL wiki recommends that we do not use this functionality in our program. https://www.khronos.org/opengl/wiki/Multisampling#Smooth_antialiasing

These antialiasing techniques have been removed in OpenGL 3.1, they were often executed by the CPU, and Minetest does not use them.
The OpenGL wiki recommends that we do not use this functionality in our program.
https://www.khronos.org/opengl/wiki/Multisampling#Smooth_antialiasing
@lhofhansl
Copy link
Contributor

Tested. Works. Including FSAA. (Linux)

@sfan5 sfan5 merged commit c7593d4 into minetest:master Feb 17, 2024
9 of 19 checks passed
if (FeatureAvailable[IRR_ARB_multisample])
if (resetAllRenderStates
|| lastmaterial.AntiAliasing != material.AntiAliasing
&& FeatureAvailable[IRR_ARB_multisample]) {
Copy link
Member

@sfan5 sfan5 Feb 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on second look this is actually broken
needs to be (A || B) && C

edit: force-pushed a fix

Copy link
Contributor Author

@HybridDog HybridDog Feb 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, I made a typing error here. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants