Changeset 5467 for trunk/src/ddraw/OS2PALSET.CPP
- Timestamp:
- Apr 3, 2001, 10:57:24 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ddraw/OS2PALSET.CPP
r5326 r5467 1 /* $Id: OS2PALSET.CPP,v 1.1 0 2001-03-18 21:44:43 mikeExp $ */1 /* $Id: OS2PALSET.CPP,v 1.11 2001-04-03 20:57:24 sandervl Exp $ */ 2 2 3 3 /* … … 18 18 #include "os2palset.h" 19 19 20 static BOOL fPhysPaletteChanged = FALSE; 20 21 //****************************************************************************** 21 22 //****************************************************************************** … … 30 31 USHORT sel = RestoreOS2FS(); 31 32 32 33 33 fPhysPaletteChanged = TRUE; 34 34 35 35 hps = WinGetPS(HWND_DESKTOP); … … 69 69 HDC hdc; 70 70 71 USHORT sel = RestoreOS2FS(); 72 73 71 if(!fPhysPaletteChanged) { 72 return; //not necessary 73 } 74 USHORT sel = RestoreOS2FS(); 74 75 75 76 hps = WinGetPS( HWND_DESKTOP);
Note:
See TracChangeset
for help on using the changeset viewer.