Changeset 3382 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Display/dd.c
- Timestamp:
- Jul 3, 2007 9:47:13 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/dd.c
r3378 r3382 62 62 63 63 /* Setup the HAL driver caps. */ 64 memset(pHalInfo, 0, sizeof(DD_HALINFO));65 64 pHalInfo->dwSize = sizeof(DD_HALINFO); 66 65 pHalInfo->dwFlags = 0; … … 77 76 pHalInfo->vmiData.ddpfDisplay.dwFlags = DDPF_RGB; 78 77 pHalInfo->vmiData.ddpfDisplay.dwRGBBitCount = pDev->ulBitCount; 78 DISPDBG((0, "pvPrimary %x\n", pHalInfo->vmiData.pvPrimary)); 79 DISPDBG((0, "fpPrimary %x\n", pHalInfo->vmiData.fpPrimary)); 80 DISPDBG((0, "dwDisplayWidth %x\n", pHalInfo->vmiData.dwDisplayWidth)); 81 DISPDBG((0, "dwDisplayHeight %x\n", pHalInfo->vmiData.dwDisplayHeigth)); 82 DISPDBG((0, "lDisplayPitch %x\n", pHalInfo->vmiData.lDisplayPitch)); 83 DISPDBG((0, "dwRGBBitCount %x\n", pHalInfo->vmiData.ddpfDisplay.dwRGBBitCount)); 79 84 80 85 if (pDev->ulBitmapType == BMF_8BPP) 86 { 81 87 pHalInfo->vmiData.ddpfDisplay.dwFlags |= DDPF_PALETTEINDEXED8; 88 DISPDBG((0, "DDPF_PALETTEINDEXED8\n")); 89 } 82 90 83 91 pHalInfo->vmiData.ddpfDisplay.dwRBitMask = pDev->flRed; … … 104 112 #endif 105 113 106 /** @todo video memory heap */ 114 /* No 3D capabilities */ 115 #if 0 116 if (pHalInfo->lpD3DGlobalDriverData) 117 { 118 LPD3DHAL_GLOBALDRIVERDATA lpD3DGlobalDriverData = (LPD3DHAL_GLOBALDRIVERDATA)pHalInfo->lpD3DGlobalDriverData; 119 lpD3DGlobalDriverData->dwSize = sizeof(D3DHAL_GLOBALDRIVERDATA); 120 } 121 #endif 122 107 123 return TRUE; 108 124 }
Note:
See TracChangeset
for help on using the changeset viewer.