mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-10-31 15:12:28 +00:00 
			
		
		
		
	Use threaded renderer by default in linux. This improves performances.
This commit is contained in:
		| @@ -33,6 +33,10 @@ int main(int argc, char *argv[]) | |||||||
|     // This disables QT appmenu under Ubuntu, which is not working with QML apps. |     // This disables QT appmenu under Ubuntu, which is not working with QML apps. | ||||||
|     setenv("QT_QPA_PLATFORMTHEME", "", 1); |     setenv("QT_QPA_PLATFORMTHEME", "", 1); | ||||||
|  |  | ||||||
|  | #if defined (Q_OS_LINUX) | ||||||
|  |     setenv("QSG_RENDER_LOOP", "threaded", 0); | ||||||
|  | #endif | ||||||
|  |  | ||||||
| #if defined(Q_OS_MAC) | #if defined(Q_OS_MAC) | ||||||
|     // This allows UTF-8 characters usage in OSX. |     // This allows UTF-8 characters usage in OSX. | ||||||
|     setenv("LC_CTYPE", "UTF-8", 1); |     setenv("LC_CTYPE", "UTF-8", 1); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user