*** empty log message ***

svn path=/trunk/boinc/; revision=11726
This commit is contained in:
David Anderson 2006-12-27 20:15:46 +00:00
parent a1da0712e8
commit f176fd6e9e
2 changed files with 9 additions and 0 deletions

View File

@ -63,6 +63,7 @@ int boinc_init_options_graphics(BOINC_OPTIONS& opt, void (*worker)()) {
bool boinc_graphics_possible() { bool boinc_graphics_possible() {
#ifdef _WIN32 #ifdef _WIN32
#if 0
// Attempt to load the dlls that are required to display graphics, if // Attempt to load the dlls that are required to display graphics, if
// any of them fail do not start the application in graphics mode. // any of them fail do not start the application in graphics mode.
if (FAILED(__HrLoadAllImportsForDll("GDI32.dll"))) { if (FAILED(__HrLoadAllImportsForDll("GDI32.dll"))) {
@ -77,6 +78,7 @@ bool boinc_graphics_possible() {
fprintf( stderr, "Failed to load GLU32.DLL\n" ); fprintf( stderr, "Failed to load GLU32.DLL\n" );
return false; return false;
} }
#endif
#elif defined(__APPLE__) #elif defined(__APPLE__)
#else #else
if (!getenv("DISPLAY")) return false; if (!getenv("DISPLAY")) return false;

View File

@ -13731,3 +13731,10 @@ David 27 Dec 2006
sched/ sched/
db_dump.C db_dump.C
David 27 Dec 2006
- comment out Windows logic in graphics_possible.C
(as implemented, requires MS linker)
api/
graphics_api.C