VirtualBox

Changeset 43966 in vbox for trunk/src


Ignore:
Timestamp:
Nov 26, 2012 6:30:37 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
82311
Message:

crOpenGL: fix gnome-shell update issues

File:
1 edited

Legend:

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

    r43932 r43966  
    630630                                   GLbitfield mask, GLenum filter)
    631631{
     632    CRContext *ctx = crStateGetCurrent();
    632633#ifdef CR_CHECK_BLITS
    633634//    {
     
    636637        GLint sdtex=0, srtex=0;
    637638        GLenum dStatus, rStatus;
    638         CRContext *ctx = crStateGetCurrent();
    639639
    640640        CRTextureObj *tobj = 0;
     
    840840#endif
    841841
     842    if (ctx->viewport.scissorTest)
     843        cr_server.head_spu->dispatch_table.Disable(GL_SCISSOR_TEST);
     844
    842845    cr_server.head_spu->dispatch_table.BlitFramebufferEXT(srcX0, srcY0, srcX1, srcY1,
    843846                                                          dstX0, dstY0, dstX1, dstY1,
    844847                                                          mask, filter);
    845848
     849    if (ctx->viewport.scissorTest)
     850        cr_server.head_spu->dispatch_table.Enable(GL_SCISSOR_TEST);
    846851//#ifdef CR_CHECK_BLITS
    847852//    crDbgDumpTexImage2D("<== src tex:", GL_TEXTURE_2D, rtex, true);
Note: See TracChangeset for help on using the changeset viewer.

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