测试opengl es2.0

This commit is contained in:
Barry 2018-10-28 23:19:38 +08:00
parent 2bcd3e08cb
commit 77a48c3709

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");