*** empty log message ***

svn path=/trunk/boinc/; revision=2604
This commit is contained in:
David Anderson 2003-10-29 23:22:41 +00:00
parent e5d891334a
commit 2f20f50ea4
2 changed files with 13 additions and 4 deletions

View File

@ -167,9 +167,11 @@ void SetMode(int mode) {
// tell the core client that we're entering new mode
//
app_client_shm->send_graphics_mode_msg(
APP_CORE_GFX_SEG, current_graphics_mode
);
if (app_client_shm) {
app_client_shm->send_graphics_mode_msg(
APP_CORE_GFX_SEG, current_graphics_mode
);
}
}
// message handler (includes timer, Windows msgs)
@ -233,7 +235,7 @@ LRESULT CALLBACK WndProc( HWND hWnd, // Handle For This Window
ReSizeGLScene(LOWORD(lParam),HIWORD(lParam));
return 0;
case WM_TIMER:
if (app_client_shm->get_graphics_mode_msg(CORE_APP_GFX_SEG, new_mode)) {
if (app_client_shm && app_client_shm->get_graphics_mode_msg(CORE_APP_GFX_SEG, new_mode)) {
SetMode(new_mode);
}
if (!visible) return 0;

View File

@ -7200,3 +7200,10 @@ Oliver 29 Oct 2003
gutil.C,h
David 28 Oct 2003
- app library: don't access shared memory if it's not there
(should keep non-standalone version from crashing
when run in isolation)
api/
windows_opengl.C