Changeset 44951 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
- Timestamp:
- Mar 7, 2013 12:33:54 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r44949 r44951 330 330 defaultMural = (CRMuralInfo *) crCalloc(sizeof(CRMuralInfo)); 331 331 defaultMural->spuWindow = CR_RENDER_DEFAULT_WINDOW_ID; 332 crHashtableAdd(cr_server.muralTable, CR_RENDER_DEFAULT_WINDOW_ID, defaultMural);332 crHashtableAdd(cr_server.muralTable, 0, defaultMural); 333 333 334 334 cr_server.programTable = crAllocHashtable(); … … 413 413 defaultMural = (CRMuralInfo *) crCalloc(sizeof(CRMuralInfo)); 414 414 defaultMural->spuWindow = CR_RENDER_DEFAULT_WINDOW_ID; 415 crHashtableAdd(cr_server.muralTable, CR_RENDER_DEFAULT_WINDOW_ID, defaultMural);415 crHashtableAdd(cr_server.muralTable, 0, defaultMural); 416 416 417 417 cr_server.programTable = crAllocHashtable(); … … 829 829 830 830 if (!pMural->CreateInfo.externalID) 831 { 832 CRASSERT(!key); 831 833 return; 834 } 832 835 833 836 if (crHashtableSearch(pData->usedMuralTable, pMural->CreateInfo.externalID)) … … 873 876 874 877 if (!pMural->CreateInfo.externalID) 878 { 879 CRASSERT(!key); 875 880 return; 881 } 876 882 877 883 if (!CR_STATE_SHAREDOBJ_USAGE_IS_SET(pMural, pData->pContextInfo->pContext))
Note:
See TracChangeset
for help on using the changeset viewer.