mirror of
https://github.com/yawut/SDL.git
synced 2026-08-28 03:34:44 -05:00
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
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user