Changeset 78375 in vbox for trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_getstring.c
- Timestamp:
- May 3, 2019 9:51:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_getstring.c
r69392 r78375 14 14 15 15 16 const GLubyte * STATE_APIENTRY crStateGetString( GLenum name )16 const GLubyte * STATE_APIENTRY crStateGetString(PCRStateTracker pState, GLenum name ) 17 17 { 18 CRContext *g = GetCurrentContext( );18 CRContext *g = GetCurrentContext(pState); 19 19 if (!g) 20 20 return NULL; … … 47 47 #endif 48 48 default: 49 crStateError( __LINE__, __FILE__, GL_INVALID_ENUM,49 crStateError(pState, __LINE__, __FILE__, GL_INVALID_ENUM, 50 50 "calling glGetString() with invalid name" ); 51 51 return NULL;
Note:
See TracChangeset
for help on using the changeset viewer.