diff options
-rw-r--r-- | dddrv.c | 8 | ||||
-rw-r--r-- | makefile | 2 | ||||
-rw-r--r-- | vmdahal.h | 4 |
3 files changed, 10 insertions, 4 deletions
@@ -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)
@@ -12,7 +12,7 @@ OBJS += & INCS = -I$(%WATCOM)\h\win -Iddk -Ivmware
-VER_BUILD = 93
+VER_BUILD = 94
FLAGS = -DDRV_VER_BUILD=$(VER_BUILD)
@@ -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
|