File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -226,14 +226,18 @@ int main(int argc, char *argv[])
226
226
// issues were observed on Windows and the app crashes on some Linux systems.
227
227
qputenv (" QMLSCENE_DEVICE" , " softwarecontext" );
228
228
qputenv (" QT_QUICK_BACKEND" , " software" );
229
+ goLog (" BITBOXAPP_RENDER=software" );
229
230
} else if (renderMode == " auto" ) {
230
231
// Do nothing: leave it to Qt to decide the rendering backend, which is usually hardware
231
232
// accelerated if available.
232
233
//
233
234
// In rare cases, this can lead to rendering artefacts and crashes, which is why it is not
234
235
// enabled by default.
236
+ std::cerr << " Rendering mode: automatic (usually hardware accelerated)" << std::endl;
237
+ goLog (" BITBOXAPP_RENDER=auto" );
235
238
} else {
236
239
std::cerr << " Invalid value for BITBOXAPP_RENDER" << std::endl;
240
+ goLog (" Invalid value for BITBOXAPP_RENDER" );
237
241
return 1 ;
238
242
}
239
243
You can’t perform that action at this time.
0 commit comments