Changeset 44924 in vbox
- Timestamp:
- Mar 5, 2013 11:21:27 AM (12 years ago)
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL/crserverlib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_config.c
r44860 r44924 79 79 const char * env; 80 80 81 defaultMural = (CRMuralInfo *) crHashtableSearch(cr_server.muralTable, 0);81 defaultMural = (CRMuralInfo *) crHashtableSearch(cr_server.muralTable, CR_RENDER_DEFAULT_WINDOW_ID); 82 82 CRASSERT(defaultMural); 83 83 … … 283 283 const char * env; 284 284 285 defaultMural = (CRMuralInfo *) crHashtableSearch(cr_server.muralTable, 0);285 defaultMural = (CRMuralInfo *) crHashtableSearch(cr_server.muralTable, CR_RENDER_DEFAULT_WINDOW_ID); 286 286 CRASSERT(defaultMural); 287 287 -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r44816 r44924 329 329 cr_server.muralTable = crAllocHashtable(); 330 330 defaultMural = (CRMuralInfo *) crCalloc(sizeof(CRMuralInfo)); 331 crHashtableAdd(cr_server.muralTable, 0, defaultMural); 331 defaultMural->spuWindow = CR_RENDER_DEFAULT_WINDOW_ID; 332 defaultMural->CreateInfo.externalID = -1; 333 crHashtableAdd(cr_server.muralTable, CR_RENDER_DEFAULT_WINDOW_ID, defaultMural); 332 334 333 335 cr_server.programTable = crAllocHashtable(); … … 411 413 cr_server.muralTable = crAllocHashtable(); 412 414 defaultMural = (CRMuralInfo *) crCalloc(sizeof(CRMuralInfo)); 413 crHashtableAdd(cr_server.muralTable, 0, defaultMural); 415 defaultMural->spuWindow = CR_RENDER_DEFAULT_WINDOW_ID; 416 defaultMural->CreateInfo.externalID = -1; 417 crHashtableAdd(cr_server.muralTable, CR_RENDER_DEFAULT_WINDOW_ID, defaultMural); 414 418 415 419 cr_server.programTable = crAllocHashtable(); -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_window.c
r44894 r44924 50 50 CrVrScrCompositorEntryInit(&mural->CEntry, &Tex); 51 51 52 defaultMural = (CRMuralInfo *) crHashtableSearch(cr_server.muralTable, 0);52 defaultMural = (CRMuralInfo *) crHashtableSearch(cr_server.muralTable, CR_RENDER_DEFAULT_WINDOW_ID); 53 53 CRASSERT(defaultMural); 54 54 mural->gX = 0;
Note:
See TracChangeset
for help on using the changeset viewer.