Commit 23fc5d00 authored by Ryan C. Gordon's avatar Ryan C. Gordon

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
parent eb72e866
...@@ -274,13 +274,7 @@ int BE_DisplayYUVOverlay(_THIS, SDL_Overlay* overlay, SDL_Rect* src, SDL_Rect *d ...@@ -274,13 +274,7 @@ int BE_DisplayYUVOverlay(_THIS, SDL_Overlay* overlay, SDL_Rect* src, SDL_Rect *d
return 0; return 0;
} }
BView * bview = overlay->hwdata->bview; 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->ResizeTo(dst->w,dst->h);
bview->Flush(); bview->Flush();
if (overlay->hwdata->first_display) { if (overlay->hwdata->first_display) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment