VirtualBox

Changeset 35718 in vbox for trunk


Ignore:
Timestamp:
Jan 25, 2011 5:58:44 PM (14 years ago)
Author:
vboxsync
Message:

wined3d/wddm: 64 bit build fix for wddm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/directx.c

    r35716 r35718  
    29082908            if (DevModeW.dmFields&DM_DISPLAYFLAGS)
    29092909            {
    2910 #ifndef RT_ARCH_AMD64
    2911                 if (DevModeW.u2.dmDisplayFlags&DM_INTERLACED)
    2912 #else
     2910#if defined(RT_ARCH_AMD64) && !defined(VBOX_WITH_WDDM)
    29132911# ifndef DM_INTERLACED
    29142912#  define DM_INTERLACED 0x00000002
    29152913# endif
    29162914                if (DevModeW.dmDisplayFlags&DM_INTERLACED)
     2915#else
     2916                if (DevModeW.u2.dmDisplayFlags&DM_INTERLACED)
    29172917#endif
    29182918                {
     
    29272927            if (DevModeW.dmFields&DM_DISPLAYORIENTATION)
    29282928            {
    2929 #ifndef RT_ARCH_AMD64
     2929#if defined(RT_ARCH_AMD64) && !defined(VBOX_WITH_WDDM)
     2930                switch (DevModeW.dmDisplayOrientation)
     2931#else
    29302932                switch (DevModeW.u.s2.dmDisplayOrientation)
    2931 #else
    2932                 switch (DevModeW.dmDisplayOrientation)
    29332933#endif
    29342934                {
     
    29462946                        break;
    29472947                    default:
    2948 #ifndef RT_ARCH_AMD64
     2948#if defined(RT_ARCH_AMD64) && !defined(VBOX_WITH_WDDM)
     2949                        WARN("Unexpected display orientation %#x", DevModeW.dmDisplayOrientation);
     2950#else
    29492951                        WARN("Unexpected display orientation %#x", DevModeW.u.s2.dmDisplayOrientation);
    2950 #else
    2951                         WARN("Unexpected display orientation %#x", DevModeW.dmDisplayOrientation);
    29522952#endif
    29532953                        break;
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