mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=2604
This commit is contained in:
parent
e5d891334a
commit
2f20f50ea4
|
@ -167,9 +167,11 @@ void SetMode(int mode) {
|
||||||
|
|
||||||
// tell the core client that we're entering new mode
|
// tell the core client that we're entering new mode
|
||||||
//
|
//
|
||||||
app_client_shm->send_graphics_mode_msg(
|
if (app_client_shm) {
|
||||||
APP_CORE_GFX_SEG, current_graphics_mode
|
app_client_shm->send_graphics_mode_msg(
|
||||||
);
|
APP_CORE_GFX_SEG, current_graphics_mode
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// message handler (includes timer, Windows msgs)
|
// message handler (includes timer, Windows msgs)
|
||||||
|
@ -233,7 +235,7 @@ LRESULT CALLBACK WndProc( HWND hWnd, // Handle For This Window
|
||||||
ReSizeGLScene(LOWORD(lParam),HIWORD(lParam));
|
ReSizeGLScene(LOWORD(lParam),HIWORD(lParam));
|
||||||
return 0;
|
return 0;
|
||||||
case WM_TIMER:
|
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);
|
SetMode(new_mode);
|
||||||
}
|
}
|
||||||
if (!visible) return 0;
|
if (!visible) return 0;
|
||||||
|
|
|
@ -7200,3 +7200,10 @@ Oliver 29 Oct 2003
|
||||||
gutil.C,h
|
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
|
||||||
|
|
Loading…
Reference in New Issue