- API: Fix build break from my last check-in.

api/
        graphics2_unix.C
        graphics2_win.C

svn path=/trunk/boinc/; revision=15108
This commit is contained in:
Rom Walton 2008-04-30 19:27:24 +00:00
parent 8d61ca0ad6
commit 7da4959dff
3 changed files with 242 additions and 240 deletions

View File

@ -210,11 +210,8 @@ static void timer_handler(int) {
}
void boinc_graphics_loop(int argc, char** argv) {
int retval = 0;
if (!diagnostics_is_initialized()) {
retval = boinc_init_graphics_diagnostics(BOINC_DIAG_DEFAULTS);
if (retval) return retval;
boinc_init_graphics_diagnostics(BOINC_DIAG_DEFAULTS);
}
#ifdef __APPLE__

View File

@ -371,11 +371,8 @@ static VOID CALLBACK timer_handler(HWND, UINT, UINT, DWORD) {
}
void boinc_graphics_loop(int argc, char** argv) {
int retval = 0;
if (!diagnostics_is_initialized()) {
retval = boinc_init_graphics_diagnostics(BOINC_DIAG_DEFAULTS);
if (retval) return retval;
boinc_init_graphics_diagnostics(BOINC_DIAG_DEFAULTS);
}
fprintf(stderr, "Starting graphics application...\n");

View File

@ -3445,3 +3445,11 @@ David April 30 2008
client_state.C
lib/
coproc.C
Rom April 30 2008
- API: Fix build break from my last check-in.
api/
graphics2_unix.C
graphics2_win.C