Changeset 43182 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_window.c
- Timestamp:
- Sep 4, 2012 7:21:41 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_window.c
r42517 r43182 103 103 104 104 crServerSetupOutputRedirect(mural); 105 106 crStateGetCurrent()->buffer.width = mural->width;107 crStateGetCurrent()->buffer.height = mural->height;108 105 } 109 106 … … 170 167 { 171 168 cr_server.currentWindow = -1; 172 crServerRedirMuralFBO(mural, GL_FALSE); 173 crServerDeleteMuralFBO(mural); 174 } 169 } 170 171 crServerRedirMuralFBO(mural, GL_FALSE); 172 crServerDeleteMuralFBO(mural); 175 173 176 174 crDebug("CRServer: Destroying window %d (spu window %d)", window, mural->spuWindow); … … 262 260 mural->height = height; 263 261 264 crStateGetCurrent()->buffer.width = mural->width; 265 crStateGetCurrent()->buffer.height = mural->height; 266 267 if (!width || !height) 268 { 269 crServerDispatchWindowVisibleRegion(window, 0, NULL); 270 return; 262 if (cr_server.curClient && cr_server.curClient->currentMural == mural) 263 { 264 crStateGetCurrent()->buffer.width = mural->width; 265 crStateGetCurrent()->buffer.height = mural->height; 271 266 } 272 267 … … 302 297 mural->gY = y; 303 298 304 if (!mural->width || !mural->height)305 return;306 307 299 crServerCheckMuralGeometry(mural); 308 300 }
Note:
See TracChangeset
for help on using the changeset viewer.