Skip to content

Commit

Permalink
Chopped out some code to match changes in revision #2793 to fix build…
Browse files Browse the repository at this point in the history
…...but

 I think this just breaks fullscreen YUV rendering.
  • Loading branch information
icculus committed Nov 7, 2006
1 parent fa4a0f9 commit bed3386
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/video/bwindow/SDL_sysyuv.cc
Expand Up @@ -274,13 +274,7 @@ int BE_DisplayYUVOverlay(_THIS, SDL_Overlay* overlay, SDL_Rect* src, SDL_Rect *d
return 0;
}
BView * bview = overlay->hwdata->bview;
if (SDL_Win->IsFullScreen()) {
int left,top;
SDL_Win->GetXYOffset(left,top);
bview->MoveTo(left+dst->x,top+dst->y);
} else {
bview->MoveTo(dst->x,dst->y);
}
bview->MoveTo(dst->x,dst->y);
bview->ResizeTo(dst->w,dst->h);
bview->Flush();
if (overlay->hwdata->first_display) {
Expand Down

0 comments on commit bed3386

Please sign in to comment.