Mercurial > sdl-ios-xcode
comparison src/video/bwindow/SDL_sysyuv.cc @ 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 | 51038e80ae59 |
children | 4e29535b821b |
comparison
equal
deleted
inserted
replaced
3890:636320238bc8 | 3891:2b5c30359c1d |
---|---|
272 } | 272 } |
273 if (SDL_Win->LockWithTimeout(50000) != B_OK) { | 273 if (SDL_Win->LockWithTimeout(50000) != B_OK) { |
274 return 0; | 274 return 0; |
275 } | 275 } |
276 BView * bview = overlay->hwdata->bview; | 276 BView * bview = overlay->hwdata->bview; |
277 if (SDL_Win->IsFullScreen()) { | 277 bview->MoveTo(dst->x,dst->y); |
278 int left,top; | |
279 SDL_Win->GetXYOffset(left,top); | |
280 bview->MoveTo(left+dst->x,top+dst->y); | |
281 } else { | |
282 bview->MoveTo(dst->x,dst->y); | |
283 } | |
284 bview->ResizeTo(dst->w,dst->h); | 278 bview->ResizeTo(dst->w,dst->h); |
285 bview->Flush(); | 279 bview->Flush(); |
286 if (overlay->hwdata->first_display) { | 280 if (overlay->hwdata->first_display) { |
287 bview->Show(); | 281 bview->Show(); |
288 overlay->hwdata->first_display = false; | 282 overlay->hwdata->first_display = false; |