Changeset 37708 in vbox
- Timestamp:
- Jun 30, 2011 1:20:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/load.c
r36848 r37708 858 858 if (hNewRgn!=INVALID_HANDLE_VALUE) 859 859 { 860 if (pRegions->pRegions->fFlags.bSetVisibleRects) 861 { 862 HRGN hEmptyRgn = CreateRectRgn(0, 0, 0, 0); 863 864 if (hEmptyRgn!=INVALID_HANDLE_VALUE) 865 { 866 if (pWindow->hVisibleRegion==INVALID_HANDLE_VALUE || EqualRgn(pWindow->hVisibleRegion, hEmptyRgn)) 867 { 868 SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0, 0, SMTO_NORMAL, 1000, NULL); 869 } 870 871 DeleteObject(hEmptyRgn); 872 } 873 else 874 { 875 crWarning("Failed to created empty region!"); 876 } 877 } 878 860 879 OffsetRgn(hNewRgn, -pWindow->x, -pWindow->y); 861 880
Note:
See TracChangeset
for help on using the changeset viewer.