VirtualBox

Changeset 51152 in vbox


Ignore:
Timestamp:
Apr 28, 2014 10:39:04 AM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: fix NPE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_presenter.cpp

    r51148 r51152  
    13671367    const struct VBVAINFOSCREEN* pScreen = CrFbGetScreenInfo(hFb);
    13681368    VBOXCMDVBVAOFFSET offVRAM = (VBOXCMDVBVAOFFSET)(((uintptr_t)CrFbGetVRAM(hFb)) - ((uintptr_t)g_pvVRamBase));
    1369     int8_t i8Result = crVBoxServerCrCmdBltPrimaryVramGenericProcess(pScreen->u32ViewIndex, offVRAM, pScreen->u32Width, pScreen->u32Height, NULL, cRegions, pRegions, true);
     1369    RTPOINT Pos = {0,0};
     1370    int8_t i8Result = crVBoxServerCrCmdBltPrimaryVramGenericProcess(pScreen->u32ViewIndex, offVRAM, pScreen->u32Width, pScreen->u32Height, &Pos, cRegions, pRegions, true);
    13701371    if (i8Result)
    13711372    {
     
    47454746    if (!hFb)
    47464747    {
    4747         WARN(("request to present on disabled framebuffer, ignore"));
     4748        LOG(("request to present on disabled framebuffer, ignore"));
    47484749        return;
    47494750    }
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