VirtualBox

Ticket #10894: do_xdamage_init_a_bit_earlier.patch

File do_xdamage_init_a_bit_earlier.patch, 867 bytes (added by smspillaz, 12 years ago)
  • src/VBox/Additions/common/crOpenGL/glx.c

    old new  
    623623    context->visual = vis;
    624624    context->direct = direct;
    625625
     626    /* This is only slightly less evil, means that clients
     627     * can't hold a server grab during glXCreateContext */
     628    stubInitXDamageExtension(context);
     629
    626630    return (GLXContext) context->id;
    627631}
    628632
     
    23322336    }
    23332337    XUNLOCK(dpy);
    23342338
    2335     stubInitXDamageExtension(pContext);
    2336 
    23372339    /* If there's damage extension, then get handle for damage events related to this pixmap */
    23382340    if (pContext->damageDpy)
    23392341    {

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