mirror of https://github.com/mpv-player/mpv
vga_draw* functions don't support linear memory for 'most' video cards
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8674 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
120f4d12b9
commit
630d1fcf94
|
@ -478,7 +478,7 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,
|
|||
else
|
||||
LINEWIDTH=vga_getmodeinfo(vid_mode)->linewidth;
|
||||
|
||||
vga_setlinearaddressing();
|
||||
// vga_setlinearaddressing(); //it is not compatable with vga_draw* for "some" cards
|
||||
if(oldmethod) {
|
||||
buffer=malloc(HEIGHT*LINEWIDTH);
|
||||
maxframes=0;
|
||||
|
|
Loading…
Reference in New Issue