Changeset 34267 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.c
- Timestamp:
- Nov 22, 2010 9:23:13 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_muralfbo.c
r31808 r34267 28 28 for (i=0; i<cr_server.screenCount; ++i) 29 29 { 30 if ((x>=cr_server.screen[i].x && x< =cr_server.screen[i].x+(int)cr_server.screen[i].w)31 && (y>=cr_server.screen[i].y && y< =cr_server.screen[i].y+(int)cr_server.screen[i].h))30 if ((x>=cr_server.screen[i].x && x<cr_server.screen[i].x+(int)cr_server.screen[i].w) 31 && (y>=cr_server.screen[i].y && y<cr_server.screen[i].y+(int)cr_server.screen[i].h)) 32 32 { 33 33 return i; … … 64 64 65 65 tlS = crServerGetPointScreen(mural->gX, mural->gY); 66 brS = crServerGetPointScreen(mural->gX+mural->width , mural->gY+mural->height);66 brS = crServerGetPointScreen(mural->gX+mural->width-1, mural->gY+mural->height-1); 67 67 68 68 if (tlS==brS && tlS>=0) … … 73 73 else 74 74 { 75 trS = crServerGetPointScreen(mural->gX+mural->width , mural->gY);76 blS = crServerGetPointScreen(mural->gX, mural->gY+mural->height );75 trS = crServerGetPointScreen(mural->gX+mural->width-1, mural->gY); 76 blS = crServerGetPointScreen(mural->gX, mural->gY+mural->height-1); 77 77 78 78 primaryS = -1; overlappingScreenCount = 0;
Note:
See TracChangeset
for help on using the changeset viewer.