Changeset 36843 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_window.c
- Timestamp:
- Apr 26, 2011 8:33:19 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_window.c
r35998 r36843 88 88 mural->bReceivedRects = GL_FALSE; 89 89 90 mural->pvOutputRedirectInstance = NULL; 91 90 92 /* generate ID for this new window/mural (special-case for file conns) */ 91 93 if (cr_server.curClient && cr_server.curClient->conn->type == CR_FILE) … … 99 101 pCreateInfo->visualBits = visBits; 100 102 crHashtableAdd(cr_server.pWindowCreateInfoTable, windowID, pCreateInfo); 103 104 crServerSetupOutputRedirect(mural); 101 105 } 102 106 … … 148 152 } 149 153 154 if (mural->pvOutputRedirectInstance) 155 { 156 cr_server.outputRedirect.CROREnd(mural->pvOutputRedirectInstance); 157 mural->pvOutputRedirectInstance = NULL; 158 } 159 150 160 if (cr_server.currentWindow == window) 151 161 { … … 295 305 296 306 cr_server.head_spu->dispatch_table.WindowVisibleRegion(mural->spuWindow, cRects, pRects); 307 308 if (mural->pvOutputRedirectInstance) 309 { 310 /* @todo the code assumes that RTRECT == four GLInts. */ 311 cr_server.outputRedirect.CRORVisibleRegion(mural->pvOutputRedirectInstance, 312 cRects, (RTRECT *)pRects); 313 } 297 314 } 298 315
Note:
See TracChangeset
for help on using the changeset viewer.