Mercurial > sdl-ios-xcode
changeset 3891:2b5c30359c1d SDL-1.2
Chopped out some code to match changes in revision #2793 to fix build...but
I think this just breaks fullscreen YUV rendering.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 07 Nov 2006 14:06:25 +0000 |
parents | 636320238bc8 |
children | b25dd008167b |
files | src/video/bwindow/SDL_sysyuv.cc |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/bwindow/SDL_sysyuv.cc Fri Nov 03 21:52:54 2006 +0000 +++ b/src/video/bwindow/SDL_sysyuv.cc Tue Nov 07 14:06:25 2006 +0000 @@ -274,13 +274,7 @@ 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) {