- Timestamp:
- Jan 25, 2011 5:58:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/directx.c
r35716 r35718 2908 2908 if (DevModeW.dmFields&DM_DISPLAYFLAGS) 2909 2909 { 2910 #ifndef RT_ARCH_AMD64 2911 if (DevModeW.u2.dmDisplayFlags&DM_INTERLACED) 2912 #else 2910 #if defined(RT_ARCH_AMD64) && !defined(VBOX_WITH_WDDM) 2913 2911 # ifndef DM_INTERLACED 2914 2912 # define DM_INTERLACED 0x00000002 2915 2913 # endif 2916 2914 if (DevModeW.dmDisplayFlags&DM_INTERLACED) 2915 #else 2916 if (DevModeW.u2.dmDisplayFlags&DM_INTERLACED) 2917 2917 #endif 2918 2918 { … … 2927 2927 if (DevModeW.dmFields&DM_DISPLAYORIENTATION) 2928 2928 { 2929 #ifndef RT_ARCH_AMD64 2929 #if defined(RT_ARCH_AMD64) && !defined(VBOX_WITH_WDDM) 2930 switch (DevModeW.dmDisplayOrientation) 2931 #else 2930 2932 switch (DevModeW.u.s2.dmDisplayOrientation) 2931 #else2932 switch (DevModeW.dmDisplayOrientation)2933 2933 #endif 2934 2934 { … … 2946 2946 break; 2947 2947 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 2949 2951 WARN("Unexpected display orientation %#x", DevModeW.u.s2.dmDisplayOrientation); 2950 #else2951 WARN("Unexpected display orientation %#x", DevModeW.dmDisplayOrientation);2952 2952 #endif 2953 2953 break;
Note:
See TracChangeset
for help on using the changeset viewer.