--- ap_client_main.cpp.orig 2008-09-18 18:49:36.000000000 -0700 +++ ap_client_main.cpp 2008-09-18 18:51:22.000000000 -0700 @@ -312,7 +312,9 @@ boinc_get_init_data(app_init_data); // We've moved the state variable into the graphics shmem segment, // so we always need to initialize graphics. + #ifdef BOINC_APP_GRAPHICS ap_graphics_init(app_init_data); + #endif BOINC_APP_GRAPHICS /* Possible arguments: