Changeset 31808 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
- Timestamp:
- Aug 20, 2010 9:40:40 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r30440 r31808 793 793 char psz[200]; 794 794 GLint ctxID; 795 CRContext* pContext; 795 796 796 797 rc = SSMR3GetMem(pSSM, &key, sizeof(key)); … … 808 809 ctxID = crServerDispatchCreateContextEx(createInfo.pszDpyName, createInfo.visualBits, 0, key, createInfo.internalID); 809 810 CRASSERT((int64_t)ctxID == (int64_t)key); 811 812 pContext = (CRContext*) crHashtableSearch(cr_server.contextTable, key); 813 CRASSERT(pContext); 814 pContext->shared->id=-1; 810 815 } 811 816 … … 821 826 CRASSERT(pContext); 822 827 823 rc = crStateLoadContext(pContext, pSSM);828 rc = crStateLoadContext(pContext, cr_server.contextTable, pSSM); 824 829 AssertRCReturn(rc, rc); 825 830 }
Note:
See TracChangeset
for help on using the changeset viewer.