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 3891 2b5c30359c1d
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
--- 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) {