Chopped out some code to match changes in revision #2793 to fix build...but SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Tue, 07 Nov 2006 14:06:25 +0000
branchSDL-1.2
changeset 38912b5c30359c1d
parent 3890 636320238bc8
child 3892 b25dd008167b
Chopped out some code to match changes in revision #2793 to fix build...but
I think this just breaks fullscreen YUV rendering.
src/video/bwindow/SDL_sysyuv.cc
     1.1 --- a/src/video/bwindow/SDL_sysyuv.cc	Fri Nov 03 21:52:54 2006 +0000
     1.2 +++ b/src/video/bwindow/SDL_sysyuv.cc	Tue Nov 07 14:06:25 2006 +0000
     1.3 @@ -274,13 +274,7 @@
     1.4          return 0;
     1.5      }
     1.6      BView * bview = overlay->hwdata->bview;
     1.7 -    if (SDL_Win->IsFullScreen()) {
     1.8 -    	int left,top;
     1.9 -    	SDL_Win->GetXYOffset(left,top);
    1.10 -	    bview->MoveTo(left+dst->x,top+dst->y);
    1.11 -    } else {
    1.12 -	    bview->MoveTo(dst->x,dst->y);
    1.13 -    }
    1.14 +    bview->MoveTo(dst->x,dst->y);
    1.15      bview->ResizeTo(dst->w,dst->h);
    1.16      bview->Flush();
    1.17  	if (overlay->hwdata->first_display) {