VirtualBox

Ignore:
Timestamp:
Jan 29, 2014 8:23:21 PM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: correct way of dealing with CreateInfo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server.h

    r50276 r50277  
    177177{
    178178    win->Base.id = mural->spuWindow;
    179     win->Base.visualBits = mural->CreateInfo.visualBits;
     179    win->Base.visualBits = mural->CreateInfo.realVisualBits;
    180180    win->width = mural->width;
    181181    win->height = mural->height;
     
    187187    if (ctx->Base.id < 0)
    188188        ctx->Base.id = cr_server.MainContextInfo.SpuContext;
    189     ctx->Base.visualBits = cr_server.curClient->currentCtxInfo->CreateInfo.visualBits;
     189    ctx->Base.visualBits = cr_server.curClient->currentCtxInfo->CreateInfo.realVisualBits;
    190190}
    191191
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