mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
13 lines
521 B
Diff
13 lines
521 B
Diff
diff -ru sdl-1.2.15.org/src/video/fbcon/SDL_fbvideo.c sdl-1.2.15/src/video/fbcon/SDL_fbvideo.c
|
|
--- sdl-1.2.15.org/src/video/fbcon/SDL_fbvideo.c 2012-01-19 07:30:06.000000000 +0100
|
|
+++ sdl-1.2.15/src/video/fbcon/SDL_fbvideo.c 2013-05-17 05:15:03.000000000 +0200
|
|
@@ -1427,7 +1429,7 @@
|
|
}
|
|
|
|
/* Wait for vertical retrace and then flip display */
|
|
- cache_vinfo.yoffset = flip_page*surface->h;
|
|
+ cache_vinfo.yoffset = flip_page * cache_vinfo.yres;
|
|
if ( FB_IsSurfaceBusy(this->screen) ) {
|
|
FB_WaitBusySurfaces(this);
|
|
}
|