Changeset 44951 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Mar 7, 2013 12:33:54 PM (12 years ago)
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL/crserverlib
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_config.c
r44924 r44951 79 79 const char * env; 80 80 81 defaultMural = (CRMuralInfo *) crHashtableSearch(cr_server.muralTable, CR_RENDER_DEFAULT_WINDOW_ID);81 defaultMural = (CRMuralInfo *) crHashtableSearch(cr_server.muralTable, 0); 82 82 CRASSERT(defaultMural); 83 83 … … 283 283 const char * env; 284 284 285 defaultMural = (CRMuralInfo *) crHashtableSearch(cr_server.muralTable, CR_RENDER_DEFAULT_WINDOW_ID);285 defaultMural = (CRMuralInfo *) crHashtableSearch(cr_server.muralTable, 0); 286 286 CRASSERT(defaultMural); 287 287 -
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)) -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.c
r44893 r44951 102 102 int overlappingScreenCount, primaryS, i; 103 103 104 if (!mural->CreateInfo.externalID) 105 return; 106 104 107 if (!mural->width || !mural->height) 105 108 return; -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_window.c
r44924 r44951 50 50 CrVrScrCompositorEntryInit(&mural->CEntry, &Tex); 51 51 52 defaultMural = (CRMuralInfo *) crHashtableSearch(cr_server.muralTable, CR_RENDER_DEFAULT_WINDOW_ID);52 defaultMural = (CRMuralInfo *) crHashtableSearch(cr_server.muralTable, 0); 53 53 CRASSERT(defaultMural); 54 54 mural->gX = 0;
Note:
See TracChangeset
for help on using the changeset viewer.