Chopped out some code to match changes in revision #2793 to fix build...but
I think this just breaks fullscreen YUV rendering. --HG-- branch : SDL-1.2 extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402221
This commit is contained in:
parent
eb72e866d7
commit
23fc5d0035
1 changed files with 1 additions and 7 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue