diff options
author | Jaroslav Hensl <emulator@emulace.cz> | 2024-12-31 01:28:01 +0100 |
---|---|---|
committer | Jaroslav Hensl <emulator@emulace.cz> | 2024-12-31 01:28:01 +0100 |
commit | a4094075b7982d7d4371086e98eb0684ed9c0417 (patch) | |
tree | 8bde65d42b28a4f433e3468b7a4aad60dfe9b6e4 | |
parent | c5014304759e25237f3d007b7818eee62e0f554d (diff) | |
download | vmdisp9x-main.tar.gz |
-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
|