Changeset 70852 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_config.c
- Timestamp:
- Feb 2, 2018 10:34:35 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_config.c
r70851 r70852 375 375 376 376 /* Config of "render force present main thread" (currently implemented by glx and wgl). */ 377 const char *forcePresent = crGetenv("CR_RENDER_FORCE_PRESENT_MAIN_THREAD");378 if (forcePresent)379 render_spu->force_present_main_thread = crStrToInt(forcePresent) ? 1 : 0;380 else381 377 { 382 #if defined(GLX) 383 /* Customer needed this for avoiding system 3D driver bugs. */ 384 render_spu->force_present_main_thread = 1; 378 const char *forcePresent = crGetenv("CR_RENDER_FORCE_PRESENT_MAIN_THREAD"); 379 if (forcePresent) 380 render_spu->force_present_main_thread = crStrToInt(forcePresent) ? 1 : 0; 381 else 382 { 383 #if defined(GLX) 384 /* Customer needed this for avoiding system 3D driver bugs. */ 385 render_spu->force_present_main_thread = 1; 385 386 #else 386 render_spu->force_present_main_thread = 0; 387 #endif 388 } 389 } 390 387 render_spu->force_present_main_thread = 0; 388 #endif 389 } 390 } 391 } 392
Note:
See TracChangeset
for help on using the changeset viewer.