VirtualBox

Changeset 27205 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Mar 9, 2010 11:11:37 AM (15 years ago)
Author:
vboxsync
Message:

wddm: bugfix

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Miniport
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/Helper.h

    r27201 r27205  
    8888extern bool g_bVBoxVDbgBreakFv;
    8989#define vboxVDbgBreakF() do { if (g_bVBoxVDbgBreakF) AssertBreakpoint(); } while (0)
    90 #define vboxVDbgBreakFv() do { if (g_bVBoxVDbgBreakF) AssertBreakpoint(); } while (0)
     90#define vboxVDbgBreakFv() do { if (g_bVBoxVDbgBreakFv) AssertBreakpoint(); } while (0)
    9191#else
    9292#define vboxVDbgBreakF() do { } while (0)
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp

    r27201 r27205  
    286286        if (!bFound)
    287287        {
     288            Assert(g_VBoxWddmNumResolutions < RT_ELEMENTS(g_VBoxWddmVideoResolutions));
    288289            g_VBoxWddmVideoResolutions[g_VBoxWddmNumResolutions].cx = pMode->VisScreenWidth;
    289290            g_VBoxWddmVideoResolutions[g_VBoxWddmNumResolutions].cy = pMode->VisScreenHeight;
     291            ++g_VBoxWddmNumResolutions;
    290292        }
    291293    }
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp

    r27201 r27205  
    10601060    dfprintf(("==> "__FUNCTION__ ", MiniportDeviceContext(0x%x)\n", MiniportDeviceContext));
    10611061
    1062     vboxVDbgBreakF();
     1062    vboxVDbgBreakFv();
    10631063
    10641064    dfprintf(("<== "__FUNCTION__ ", MiniportDeviceContext(0x%x)\n", MiniportDeviceContext));
     
    11421142            {
    11431143                /* we are requested to provide the number of segments we support */
    1144                 pQsOut->NbSegment = 1;
    1145             }
    1146             else if (pQsOut->NbSegment != 1)
     1144                pQsOut->NbSegment = 2;
     1145            }
     1146            else if (pQsOut->NbSegment != 2)
    11471147            {
    11481148                AssertBreakpoint();
     
    28632863    dfprintf(("==> "__FUNCTION__ ", hDevice(0x%x)\n", hDevice));
    28642864
    2865     AssertBreakpoint();
     2865    vboxVDbgBreakF();
    28662866
    28672867    NTSTATUS Status = STATUS_SUCCESS;
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