VirtualBox

Ignore:
Timestamp:
Sep 4, 2012 7:21:41 PM (12 years ago)
Author:
vboxsync
Message:

crOpenGL: 1. VRDP+3D fixes, 2. Generic bugfixes, 3. Intel GPU-related fixes

File:
1 edited

Legend:

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

    r42517 r43182  
    103103
    104104        crServerSetupOutputRedirect(mural);
    105 
    106         crStateGetCurrent()->buffer.width = mural->width;
    107         crStateGetCurrent()->buffer.height = mural->height;
    108105    }
    109106
     
    170167    {
    171168        cr_server.currentWindow = -1;
    172         crServerRedirMuralFBO(mural, GL_FALSE);
    173         crServerDeleteMuralFBO(mural);
    174     }
     169    }
     170
     171    crServerRedirMuralFBO(mural, GL_FALSE);
     172    crServerDeleteMuralFBO(mural);
    175173
    176174    crDebug("CRServer: Destroying window %d (spu window %d)", window, mural->spuWindow);
     
    262260    mural->height = height;
    263261
    264     crStateGetCurrent()->buffer.width = mural->width;
    265     crStateGetCurrent()->buffer.height = mural->height;
    266 
    267     if (!width || !height)
    268     {
    269         crServerDispatchWindowVisibleRegion(window, 0, NULL);
    270         return;
     262    if (cr_server.curClient && cr_server.curClient->currentMural == mural)
     263    {
     264        crStateGetCurrent()->buffer.width = mural->width;
     265        crStateGetCurrent()->buffer.height = mural->height;
    271266    }
    272267
     
    302297    mural->gY = y;
    303298
    304     if (!mural->width || !mural->height)
    305         return;
    306 
    307299    crServerCheckMuralGeometry(mural);
    308300}
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