VirtualBox

Ignore:
Timestamp:
May 3, 2019 9:51:02 PM (6 years ago)
Author:
vboxsync
Message:

Additions/common/crOpengl,GuestHost/OpenGL,HostServices/SharedOpenGL: Eliminate all global variables from the state tracker library (state_tracker) in preparation of the SPU DLL merging, bugref:9435

File:
1 edited

Legend:

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

    r78263 r78375  
    423423                window = 0;
    424424
    425         ctx = crStateGetCurrent();
     425        ctx = crStateGetCurrent(&cr_server.StateTracker);
    426426
    427427        CRASSERT(cr_server.curClient && cr_server.curClient->currentMural == mural);
     
    449449crServerDispatchFlush(void)
    450450{
    451     CRContext *ctx = crStateGetCurrent();
     451    CRContext *ctx = crStateGetCurrent(&cr_server.StateTracker);
    452452    cr_server.head_spu->dispatch_table.Flush();
    453453
     
    470470crServerDispatchFinish(void)
    471471{
    472     CRContext *ctx = crStateGetCurrent();
     472    CRContext *ctx = crStateGetCurrent(&cr_server.StateTracker);
    473473
    474474    cr_server.head_spu->dispatch_table.Finish();
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