VirtualBox

Ignore:
Timestamp:
Jul 24, 2009 12:16:25 PM (15 years ago)
Author:
vboxsync
Message:

OpenGL-OSX: Disable update context, cause it doesn't work with DirectX apps. (Seems not necessary anyway)

File:
1 edited

Legend:

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

    r18830 r21785  
    187187                        GLboolean result = render_spu.ws.aglSetCurrentContext(tmpContext);
    188188                        CHECK_AGL_RC (result, "Render SPU (windowEvtHndlr): SetCurrentContext Failed");
    189                         if (result)
    190                         {
    191                             result = render_spu.ws.aglUpdateContext(tmpContext);
    192                             CHECK_AGL_RC (result, "Render SPU (windowEvtHndlr): UpdateContext Failed");
    193                         }
     189                        /* Doesn't work with DirectX; Anyway doesn't  */
     190/*                        if (result)*/
     191/*                        {*/
     192/*                            result = render_spu.ws.aglUpdateContext(tmpContext);*/
     193/*                            CHECK_AGL_RC (result, "Render SPU (windowEvtHndlr): UpdateContext Failed");*/
     194/*                        }*/
    194195                        RTSemFastMutexRelease(render_spu.syncMutex);
    195196                    }
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