aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dddrv.c8
-rw-r--r--makefile2
-rw-r--r--vmdahal.h4
3 files changed, 10 insertions, 4 deletions
diff --git a/dddrv.c b/dddrv.c
index d3496bd..d641512 100644
--- a/dddrv.c
+++ b/dddrv.c
@@ -322,9 +322,11 @@ static void buildDDHALInfo(VMDAHAL_t __far *hal, int modeidx)
hal->ddHALInfo.ddCaps.dwCaps |= DDCAPS_3D;
hal->ddHALInfo.ddCaps.ddsCaps.dwCaps |= hal->d3dhal_flags.ddscaps;
hal->ddHALInfo.ddCaps.dwZBufferBitDepths |= hal->d3dhal_flags.zcaps;
-#if 0
- hal->ddHALInfo.ddCaps.dwCaps2 = DDCAPS2_NO2DDURING3DSCENE;
-#endif
+
+ hal->ddHALInfo.ddCaps.dwCaps2 = hal->d3dhal_flags.caps2;
+ hal->ddHALInfo.ddCaps.dwAlphaBltConstBitDepths = hal->d3dhal_flags.alpha_const;
+ hal->ddHALInfo.ddCaps.dwAlphaBltPixelBitDepths = hal->d3dhal_flags.alpha_pixel;
+ hal->ddHALInfo.ddCaps.dwAlphaBltSurfaceBitDepths = hal->d3dhal_flags.alpha_surface;
}
if(can_flip)
diff --git a/makefile b/makefile
index d434ab7..e744ccd 100644
--- a/makefile
+++ b/makefile
@@ -12,7 +12,7 @@ OBJS += &
INCS = -I$(%WATCOM)\h\win -Iddk -Ivmware
-VER_BUILD = 93
+VER_BUILD = 94
FLAGS = -DDRV_VER_BUILD=$(VER_BUILD)
diff --git a/vmdahal.h b/vmdahal.h
index 818fe9d..494ac6d 100644
--- a/vmdahal.h
+++ b/vmdahal.h
@@ -48,6 +48,10 @@ typedef struct VMDAHAL_D3DCAPS
{
DWORD ddscaps;
DWORD zcaps;
+ DWORD caps2;
+ DWORD alpha_const;
+ DWORD alpha_pixel;
+ DWORD alpha_surface;
} VMDAHAL_D3DCAPS_t;
typedef struct VMDAHAL