diff --git a/api/boinc_api.C b/api/boinc_api.C index 92c1d770fa..d8f3127120 100644 --- a/api/boinc_api.C +++ b/api/boinc_api.C @@ -19,7 +19,7 @@ // API_IGNORE_CLIENT will make the app ignore the core client // this is useful for debugging just the application -#define API_IGNORE_CLIENT +//#define API_IGNORE_CLIENT #include #include @@ -121,22 +121,6 @@ int boinc_init() { this_process_active = true; set_timer(timer_period); -#ifdef BOINC_APP_GRAPHICS -#ifdef _WIN32 - DWORD threadId; - HANDLE hThread; - - // Create the graphics thread, passing it the graphics info - hThread = CreateThread( NULL, 0, graphics_main, 0, CREATE_SUSPENDED, &threadId ); - - // Set it to idle priority - SetThreadPriority (hThread, THREAD_PRIORITY_IDLE); - - // Start the graphics thread - ResumeThread( hThread ); -#endif -#endif - return 0; }