Upgrade to OpenGL ES 3.2 (#1879)

* upgrade to opengl 3.2

* cornerpin: no need for hack

* renderer: Update OCIO shader language to ES 3.0

Co-authored-by: Thomas Wilshaw <thomaswilshaw@gmail.com>
This commit is contained in:
itsmattkc
2022-03-20 11:17:18 -07:00
committed by GitHub
co-authored by Thomas Wilshaw
parent cdf9efa7f6
commit a4056d8454
28 changed files with 136 additions and 131 deletions
+1 -2
View File
@@ -190,9 +190,8 @@ int main(int argc, char *argv[])
//
// https://bugreports.qt.io/browse/QTBUG-46140
QCoreApplication::setAttribute(Qt::AA_UseDesktopOpenGL);
format.setVersion(2, 0);
format.setVersion(3, 2);
format.setProfile(QSurfaceFormat::CoreProfile);
format.setOption(QSurfaceFormat::DeprecatedFunctions);
format.setDepthBufferSize(24);
QSurfaceFormat::setDefaultFormat(format);