- 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
This commit is contained in:
Rom Walton 2008-05-08 17:13:12 +00:00
parent f5999a9dda
commit dcb607bce1
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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));