VirtualBox

Ignore:
Timestamp:
Feb 10, 2009 3:37:23 PM (16 years ago)
Author:
vboxsync
Message:

crOpenGL: use shared memory to access xserver pixmaps data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/crOpenGL/load.c

    r16480 r16640  
    207207
    208208    crNetTearDown();
     209
     210#ifdef GLX
     211    if (stub.xshmSI.shmid>=0)
     212    {
     213        shmctl(stub.xshmSI.shmid, IPC_RMID, 0);
     214        shmdt(stub.xshmSI.shmaddr);
     215    }
     216#endif
    209217
    210218    crMemset(&stub, 0, sizeof(stub) );
     
    541549#endif
    542550
     551#ifdef GLX
     552    stub.xshmSI.shmid = -1;
     553    stub.bShmInitFailed = GL_FALSE;
     554#endif
     555
    543556    return true;
    544557}
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