VirtualBox

Ignore:
Timestamp:
Jan 29, 2018 12:31:22 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120566
Message:

renderspu_wgl.c: annoying assertion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_wgl.c

    r69390 r70789  
    12241224
    12251225    /* set the window pointer data at the last step to ensure our WM_PAINT callback does not do anything until we are fully initialized */
     1226#ifdef RT_STRICT
     1227    SetLastError(NO_ERROR);
     1228#endif
    12261229    {
    12271230        LONG_PTR oldVal = SetWindowLongPtr(window->hWnd, GWLP_USERDATA, (LONG_PTR)window);
    1228         DWORD winEr = GetLastError();
    1229         Assert(!oldVal && winEr == NO_ERROR);
     1231        Assert(!oldVal && GetLastError() == NO_ERROR); RT_NOREF_PV(oldVal);
    12301232    }
    12311233
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