Changeset 34284 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Nov 23, 2010 1:38:39 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 68035
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/context.c
r34236 r34284 515 515 } 516 516 else { 517 GetClientRect( hwnd, &rect ); 517 if (!GetClientRect(hwnd, &rect)) 518 { 519 crWarning("GetClientRect failed for %p", hwnd); 520 *w = *h = 0; 521 return; 522 } 518 523 *w = rect.right - rect.left; 519 524 *h = rect.bottom - rect.top; 520 ClientToScreen( hwnd, (LPPOINT) &rect ); 525 if (!ClientToScreen( hwnd, (LPPOINT) &rect )) 526 { 527 crWarning("ClientToScreen failed for %p", hwnd); 528 *w = *h = 0; 529 return; 530 } 521 531 *x = rect.left; 522 532 *y = rect.top;
Note:
See TracChangeset
for help on using the changeset viewer.