From dcb607bce1cbe825e075a7baf27e9c7236c9ae83 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 8 May 2008 17:13:12 +0000 Subject: [PATCH] - Uc2 - Change the call to diagnostics_init to boinc_init_graphics_diagnostics for the graphics application. example_app/ uc2_graphics.C svn path=/trunk/boinc_samples/; revision=15147 --- checkin_notes | 7 +++++++ example_app/uc2_graphics.C | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 121bde21f3..265fa52cd2 100644 --- a/checkin_notes +++ b/checkin_notes @@ -683,3 +683,10 @@ Charlie 1 Apr 2008 mac_build/ UpperCase2.xcodeproj/ project.pbxproj + +Rom 8 May 2008 + - Uc2 - Change the call to diagnostics_init to boinc_init_graphics_diagnostics + for the graphics application. + + example_app/ + uc2_graphics.C diff --git a/example_app/uc2_graphics.C b/example_app/uc2_graphics.C index 2761f3aefc..61607bc963 100644 --- a/example_app/uc2_graphics.C +++ b/example_app/uc2_graphics.C @@ -277,7 +277,7 @@ int main(int argc, char** argv) { // and so the graphics application should have read/write // permissions there. // - diagnostics_init(BOINC_DIAG_DEFAULTS, "stdoutgfx", "stderrgfx"); + boinc_init_graphics_diagnostics(BOINC_DIAG_DEFAULTS); #ifdef __APPLE__ setMacIcon(argv[0], MacAppIconData, sizeof(MacAppIconData));