| View previous topic :: View next topic |
| Author |
Message |
Nige

Joined: 29 Sep 2005 Posts: 10
|
Posted: Thu Nov 03, 2005 7:25 am Post subject: SDL problem |
|
|
It looks like the latest update to SDL has broken something. What was a normal SDL application is now a flickering mess - I think it's due to the newly-added sceGuSync in PSP_FlipHWSurface. Can someone verify?
--Edit: Sorry, it wasn't a problem in SDL after all! D'oh. |
|
| Back to top |
|
 |
rinco
Joined: 21 Jan 2005 Posts: 255 Location: Canberra, Australia
|
Posted: Thu Nov 03, 2005 12:51 pm Post subject: |
|
|
Until SDL waits on VBlank there might be some tearing in SDL apps. As a temporary solution I'd suggest waiting on vblank before a Flip or UpdateRects.
It is possible that moving sceGuSync to FlipHWSurface has caused an issue with certain combinations of screen updates ie: hw accelerated blits + anything else. Perhaps LockHWSurface also needs a sceGuSync (maybe it should lock the surface as well). |
|
| Back to top |
|
 |
|