VirtualBox

Ignore:
Timestamp:
Mar 25, 2013 5:31:01 PM (12 years ago)
Author:
vboxsync
Message:

crOpenGL: Seamles+3D bufixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.c

    r45159 r45179  
    335335    SPUDispatchTable *gl = &cr_server.head_spu->dispatch_table;
    336336    CRContextInfo *pMuralContextInfo;
    337     VBOXVR_TEXTURE Tex;
    338337
    339338    CRASSERT(mural->aidFBOs[0]==0);
     
    441440    CRASSERT(mural->aidColorTexs[CR_SERVER_FBO_FB_IDX(mural)]);
    442441
    443     Tex.width = mural->width;
    444     Tex.height = mural->height;
    445     Tex.target = GL_TEXTURE_2D;
    446     Tex.hwid = mural->aidColorTexs[CR_SERVER_FBO_FB_IDX(mural)];
    447 
    448     CrVrScrCompositorEntryTexUpdate(&mural->CEntry, &Tex);
     442    CrVrScrCompositorEntryTexNameUpdate(&mural->CEntry, mural->aidColorTexs[CR_SERVER_FBO_FB_IDX(mural)]);
    449443
    450444    if (mural->fRootVrOn)
    451         CrVrScrCompositorEntryTexUpdate(&mural->RootVrCEntry, &Tex);
     445        CrVrScrCompositorEntryTexNameUpdate(&mural->RootVrCEntry, mural->aidColorTexs[CR_SERVER_FBO_FB_IDX(mural)]);
    452446}
    453447
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