VirtualBox

Ignore:
Timestamp:
Feb 2, 2018 10:34:35 AM (7 years ago)
Author:
vboxsync
Message:

build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_config.c

    r70851 r70852  
    375375
    376376    /* 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     else
    381377    {
    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;
    385386#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.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette