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/GuestHost/OpenGL/state_tracker/state_getstring.c

    r69392 r78375  
    1414
    1515
    16 const GLubyte * STATE_APIENTRY crStateGetString( GLenum name )
     16const GLubyte * STATE_APIENTRY crStateGetString(PCRStateTracker pState, GLenum name )
    1717{
    18         CRContext *g = GetCurrentContext();
     18        CRContext *g = GetCurrentContext(pState);
    1919        if (!g)
    2020                return NULL;
     
    4747#endif
    4848                default:
    49                         crStateError( __LINE__, __FILE__, GL_INVALID_ENUM,
     49                        crStateError(pState, __LINE__, __FILE__, GL_INVALID_ENUM,
    5050                                                                        "calling glGetString() with invalid name" );
    5151                        return NULL;
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