Changeset 68343 in vbox for trunk/src/VBox
- Timestamp:
- Aug 8, 2017 3:10:41 PM (7 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxD3DIf.h
r63018 r68343 22 22 #include "VBoxDispD3DCmn.h" 23 23 24 staticD3DFORMAT vboxDDI2D3DFormat(D3DDDIFORMAT format);24 D3DFORMAT vboxDDI2D3DFormat(D3DDDIFORMAT format); 25 25 D3DMULTISAMPLE_TYPE vboxDDI2D3DMultiSampleType(D3DDDIMULTISAMPLE_TYPE enmType); 26 26 D3DPOOL vboxDDI2D3DPool(D3DDDI_POOL enmPool); -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3D.h
r63026 r68343 316 316 317 317 #define VBOXDISP_CUBEMAP_LEVELS_COUNT(pRc) (((pRc)->cAllocations)/6) 318 #define VBOXDISP_CUBEMAP_INDEX_TO_FACE(pRc, idx) ((D3DCUBEMAP_FACES)(D3DCUBEMAP_FACE_POSITIVE_X+(idx) %VBOXDISP_CUBEMAP_LEVELS_COUNT(pRc)))318 #define VBOXDISP_CUBEMAP_INDEX_TO_FACE(pRc, idx) ((D3DCUBEMAP_FACES)(D3DCUBEMAP_FACE_POSITIVE_X+(idx)/VBOXDISP_CUBEMAP_LEVELS_COUNT(pRc))) 319 319 #define VBOXDISP_CUBEMAP_INDEX_TO_LEVEL(pRc, idx) ((idx)%VBOXDISP_CUBEMAP_LEVELS_COUNT(pRc)) 320 320
Note:
See TracChangeset
for help on using the changeset viewer.