VirtualBox

Changeset 68343 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 8, 2017 3:10:41 PM (7 years ago)
Author:
vboxsync
Message:

WDDM: VBOXDISP_CUBEMAP_INDEX_TO_FACE fix. vboxDDI2D3DFormat declaration.

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  
    2222#include "VBoxDispD3DCmn.h"
    2323
    24 static D3DFORMAT vboxDDI2D3DFormat(D3DDDIFORMAT format);
     24D3DFORMAT vboxDDI2D3DFormat(D3DDDIFORMAT format);
    2525D3DMULTISAMPLE_TYPE vboxDDI2D3DMultiSampleType(D3DDDIMULTISAMPLE_TYPE enmType);
    2626D3DPOOL vboxDDI2D3DPool(D3DDDI_POOL enmPool);
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3D.h

    r63026 r68343  
    316316
    317317#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)))
    319319#define VBOXDISP_CUBEMAP_INDEX_TO_LEVEL(pRc, idx) ((idx)%VBOXDISP_CUBEMAP_LEVELS_COUNT(pRc))
    320320
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette