From 9b449609fac7b23f2f9655ce2d766f1f56679ba4 Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Sun, 4 May 2008 15:17:55 -0700 Subject: Removed SupportWindows95 and platform_pc macros. --- src/vdb.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/vdb.c') diff --git a/src/vdb.c b/src/vdb.c index 7244ebd..848497c 100644 --- a/src/vdb.c +++ b/src/vdb.c @@ -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; -- cgit v1.3