VirtualBox

Ignore:
Timestamp:
Nov 22, 2010 10:54:51 PM (14 years ago)
Author:
vboxsync
Message:

crOpenGL: fix check for huge guest windows

File:
1 edited

Legend:

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

    r34269 r34270  
    4040static GLboolean crServerMuralCoverScreen(CRMuralInfo *mural, int sId)
    4141{
    42     return mural->gX<=cr_server.screen[sId].x
    43            && mural->gX>=cr_server.screen[sId].x+(int)cr_server.screen[sId].w
    44            && mural->gY<=cr_server.screen[sId].y
    45            && mural->gY>=cr_server.screen[sId].y+(int)cr_server.screen[sId].h;
     42    return mural->gX < cr_server.screen[sId].x
     43           && mural->gX+(int)mural->width > cr_server.screen[sId].x+(int)cr_server.screen[sId].w
     44           && mural->gY < cr_server.screen[sId].y
     45           && mural->gY+(int)mural->height > cr_server.screen[sId].y+(int)cr_server.screen[sId].h;
    4646}
    4747
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