Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

#assistants: enable GL_POINT_SMOOTH in tglEnablePointSmooth

Ivan Mahoninb80ca20e78ab
diff --git a/toonz/sources/common/tgl/tgl.cpp b/toonz/sources/common/tgl/tgl.cpp
index 6c3c83154..c63fca7d2 100644
--- a/toonz/sources/common/tgl/tgl.cpp
+++ b/toonz/sources/common/tgl/tgl.cpp
@@ -266,6 +266,8 @@ void tglEnableLineSmooth(bool enable, double lineSize) {
void tglEnablePointSmooth(double pointSize) {
glEnable(GL_BLEND);
+ glEnable(GL_POINT_SMOOTH);
+ glHint(GL_POINT_SMOOTH_HINT, GL_NICEST);
glPointSize(pointSize);
}