Changeset 39736 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/render
- Timestamp:
- Jan 10, 2012 11:28:17 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_wgl.c
r39735 r39736 206 206 { 207 207 DWORD cbCur = cbBufRemain; 208 DWORD type; 208 209 lRc = RegQueryValueExA(hSubkey, aValueNames[i], NULL, /* reserved*/ 209 REG_MULTI_SZ,210 &type, 210 211 (PBYTE)pBufPos, &cbCur); 211 212 /* exclude second null termination */ … … 214 215 if (ERROR_MORE_DATA == lRc) 215 216 { 217 if (REG_MULTI_SZ != type) 218 { 219 crWarning("unexpected data type! %d", type); 220 continue; 221 } 216 222 rc = VERR_BUFFER_OVERFLOW; 217 223 pBufPos = NULL; … … 227 233 } 228 234 235 if (REG_MULTI_SZ != type) 236 { 237 crWarning("unexpected data type! %d", type); 238 continue; 239 } 240 229 241 /* succeeded */ 230 242 CRASSERT(cbCur > 0 && cbCur < UINT32_MAX/2); … … 275 287 276 288 crDebug("renderspuAtiQuirk_ApplyForModule SUCCEEDED!"); 277 crInfo("ATI Fullscreen qwirk forSUCCEEDED!");289 crInfo("ATI Fullscreen qwirk SUCCEEDED!"); 278 290 279 291 return VINF_SUCCESS; … … 308 320 crDebug("renderspuAtiQuirk_Apply.."); 309 321 322 Assert(0); 310 323 rc = renderspuAtiQuirk_GetICDDriverList(aBuf, sizeof (aBuf), &cbResult); 311 324 if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.