diff options
| author | Steven Fuller <relnev@icculus.org> | 2008-05-04 15:17:55 -0700 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:37 +0200 |
| commit | 9b449609fac7b23f2f9655ce2d766f1f56679ba4 (patch) | |
| tree | 437781bff4f72b2d4bd3220f657a58ef516c18b5 /src/vdb.c | |
| parent | 361c1319328308341d00a8c6dacc28e6096dd041 (diff) | |
Removed SupportWindows95 and platform_pc macros.
Diffstat (limited to 'src/vdb.c')
| -rw-r--r-- | src/vdb.c | 14 |
1 files changed, 3 insertions, 11 deletions
@@ -10,9 +10,7 @@ */ - #if SupportWindows95 - extern int ScanDrawMode; - #endif +extern int ScanDrawMode; /* @@ -441,9 +439,7 @@ void SetVDB(vdb, fl, ty, d, cx,cy, prx,pry, mxp, cl,cr,cu,cd, h1,h2,hc, amb) vdb->VDB_Depth = ScreenDescriptorBlock.SDB_Depth; - #if SupportWindows95 - vdb->VDB_ScreenDepth = ScreenDescriptorBlock.SDB_ScreenDepth; - #endif + vdb->VDB_ScreenDepth = ScreenDescriptorBlock.SDB_ScreenDepth; vdb->VDB_CentreX = ScreenDescriptorBlock.SDB_CentreX; vdb->VDB_CentreY = ScreenDescriptorBlock.SDB_CentreY; @@ -461,16 +457,12 @@ void SetVDB(vdb, fl, ty, d, cx,cy, prx,pry, mxp, cl,cr,cu,cd, h1,h2,hc, amb) else { - #if SupportWindows95 if (ScanDrawMode == ScanDrawDirectDraw) vdb->VDB_Depth = d; else vdb->VDB_Depth = VideoModeType_24; - vdb->VDB_ScreenDepth = ScreenDescriptorBlock.SDB_ScreenDepth; - #else - vdb->VDB_Depth = d; - #endif + vdb->VDB_ScreenDepth = ScreenDescriptorBlock.SDB_ScreenDepth; vdb->VDB_CentreX = cx; vdb->VDB_CentreY = cy; |
