[example1/opengl] Don't enable GL_POLYGON_SMOOTH and GL_MULTISAMPLE

GL_POLYGON_SMOOTH appears to have inconsistent behavior across drivers, and seems to cause issues for at least me on Linux with my graphics card.

According to Grim, it sounds like multisampling was enabled specifically for this as well, and so we no longer enable GL_MULTISAMPLE either
This commit is contained in:
Spirrwell 2023-01-10 10:32:48 -05:00
parent d31b5b9f1c
commit 976093d9fe
No known key found for this signature in database
GPG Key ID: 4BB98FDD5B36DA6A
1 changed files with 0 additions and 3 deletions

View File

@ -163,9 +163,6 @@ class OpenGLExample : VerticalLayout {
return;
}
checkgl!glEnable(GL_MULTISAMPLE);
checkgl!glEnable(GL_POLYGON_SMOOTH);
checkgl!glEnable(GL_CULL_FACE);
checkgl!glEnable(GL_DEPTH_TEST);
checkgl!glCullFace(GL_BACK);