VirtualBox

Changeset 35716 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 25, 2011 3:23:49 PM (14 years ago)
Author:
vboxsync
Message:

wined3d: 64bit build fix

File:
1 edited

Legend:

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

    r35713 r35716  
    29082908            if (DevModeW.dmFields&DM_DISPLAYFLAGS)
    29092909            {
     2910#ifndef RT_ARCH_AMD64
    29102911                if (DevModeW.u2.dmDisplayFlags&DM_INTERLACED)
     2912#else
     2913# ifndef DM_INTERLACED
     2914#  define DM_INTERLACED 0x00000002
     2915# endif
     2916                if (DevModeW.dmDisplayFlags&DM_INTERLACED)
     2917#endif
    29112918                {
    29122919                    pMode->ScanLineOrdering = WINED3DSCANLINEORDERING_INTERLACED;
     
    29202927            if (DevModeW.dmFields&DM_DISPLAYORIENTATION)
    29212928            {
     2929#ifndef RT_ARCH_AMD64
    29222930                switch (DevModeW.u.s2.dmDisplayOrientation)
     2931#else
     2932                switch (DevModeW.dmDisplayOrientation)
     2933#endif
    29232934                {
    29242935                    case DMDO_DEFAULT:
     
    29352946                        break;
    29362947                    default:
     2948#ifndef RT_ARCH_AMD64
    29372949                        WARN("Unexpected display orientation %#x", DevModeW.u.s2.dmDisplayOrientation);
     2950#else
     2951                        WARN("Unexpected display orientation %#x", DevModeW.dmDisplayOrientation);
     2952#endif
    29382953                        break;
    29392954                }
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