Changeset 52485 in vbox for trunk/src/VBox/HostServices/SharedOpenGL
- Timestamp:
- Aug 24, 2014 4:49:25 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.cpp
r51320 r52485 120 120 continue; 121 121 122 CrFbEntryRelease(pData->hFb, pData->hFbEntry); 123 pData->hFbEntry = NULL; 122 if (pData->hFbEntry != NULL) 123 { 124 CrFbEntryRelease(pData->hFb, pData->hFbEntry); 125 pData->hFbEntry = NULL; 126 } 124 127 125 128 for (j = 0; j < mural->cBuffers; ++j) … … 191 194 { 192 195 pData->hFb = hFb; 196 197 /* Guard against modulo-by-zero when calling CrFbEntryCreateForTexData 198 below. Observed when failing to load atig6pxx.dll and similar. */ 199 if (RT_UNLIKELY(mural->cBuffers == 0)) 200 { 201 WARN(("crServerRedirMuralDbSyncFb: cBuffers == 0 (crServerSupportRedirMuralFBO=%d)", crServerSupportRedirMuralFBO())); 202 return VERR_NOT_SUPPORTED; 203 } 193 204 194 205 for (uint32_t i = 0; i < mural->cBuffers; ++i)
Note:
See TracChangeset
for help on using the changeset viewer.