Ignore:
Timestamp:
Aug 16, 1999, 2:40:48 AM (26 years ago)
Author:
hugh
Message:

Changed to use ODINCRT macros to preserve FS, but still does crash

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ddraw/OS2PALSET.CPP

    r210 r503  
    77#include <string.h>
    88#include "os2palset.h"
    9 #define FAR
    10 #include "misc.h"
    11 
     9#include <odincrt.h>
    1210//******************************************************************************
    1311//******************************************************************************
     
    1917 RGB2 os2rgb[256];
    2018 int  i;
     19
     20  ODIN_FS_BEGIN
    2121
    2222  hps = WinGetPS(HWND_DESKTOP);
     
    4444                     TRUE);
    4545  WinReleasePS(hps);
     46
     47  ODIN_FS_END
     48
    4649}
    4750//******************************************************************************
     
    5154 HPS hps;
    5255 HDC hdc;
     56
     57  ODIN_FS_BEGIN
    5358
    5459  hps = WinGetPS( HWND_DESKTOP);
     
    6570
    6671  WinReleasePS(hps);
     72
     73  ODIN_FS_END
     74
    6775}
    6876//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.