在qt的QOpenGLWidget开启opengl的抗锯齿
时间:2019-08-23 19:14:37
收藏:0
阅读:321
在QOpenGLWidget的构造函数添加下面几句代码即可
QSurfaceFormat surfaceFormat; surfaceFormat.setSamples(4);//多重采样 setFormat(surfaceFormat); //setFormat是QOpenGLWidget的函数
参考链接:
原文:https://www.cnblogs.com/2018shawn/p/11401879.html
评论(0)