测试opengl es2.0

This commit is contained in:
Barry 2018-10-28 23:19:38 +08:00
parent 4b84cf8668
commit 6e95a8d7ac

View file

@ -7,6 +7,10 @@
int main(int argc, char *argv[])
{
QApplication::setAttribute(Qt::AA_UseDesktopOpenGL);
//QApplication::setAttribute(Qt::AA_UseOpenGLES);
//QApplication::setAttribute(Qt::AA_UseSoftwareOpenGL);
QApplication a(argc, argv);
qputenv("QTSCRCPY_ADB_PATH", "G:\\mygitcode\\QtScrcpy\\src\\adb.exe");