VirtualBox

Ignore:
Timestamp:
Jul 16, 2014 9:23:55 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95065
Message:

Main: IDisplay converted to use API wrappers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserver/crservice.cpp

    r51801 r52064  
    11231123                            CHECK_ERROR_RET(pFramebuffer, COMGETTER(Width)(&w), rc);
    11241124                            CHECK_ERROR_RET(pFramebuffer, COMGETTER(Height)(&h), rc);
    1125                             CHECK_ERROR_RET(pDisplay, GetScreenResolution(i, NULL, NULL, NULL, &xo, &yo), rc);
     1125                            ULONG dummy;
     1126                            CHECK_ERROR_RET(pDisplay, GetScreenResolution(i, &dummy, &dummy, &dummy, &xo, &yo), rc);
    11261127
    11271128                            rc = crVBoxServerMapScreen(i, xo, yo, w, h, winId);
     
    12481249                            CHECK_ERROR_BREAK(pFramebuffer, COMGETTER(Width)(&w));
    12491250                            CHECK_ERROR_BREAK(pFramebuffer, COMGETTER(Height)(&h));
    1250                             CHECK_ERROR_BREAK(pDisplay, GetScreenResolution(screenId, NULL, NULL, NULL, &xo, &yo));
     1251                            ULONG dummy;
     1252                            CHECK_ERROR_BREAK(pDisplay, GetScreenResolution(screenId, &dummy, &dummy, &dummy, &xo, &yo));
    12511253
    12521254                            rc = crVBoxServerMapScreen(screenId, xo, yo, w, h, winId);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette