X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FDisplay%2FVESA%2Fmain.c;h=62fb25a2ea82438f428d8b159b251f674b00602b;hb=c1b33e91984102c1aa9a2ffe19f02c315b481726;hp=0af86cbd65ecc76ee5ae377f722fc28ba52ccf4f;hpb=d10adde796b44572377e106c56d6f84415277e82;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Display/VESA/main.c b/KernelLand/Modules/Display/VESA/main.c index 0af86cbd..62fb25a2 100644 --- a/KernelLand/Modules/Display/VESA/main.c +++ b/KernelLand/Modules/Display/VESA/main.c @@ -461,9 +461,9 @@ int Vesa_Int_SetMode(int mode) Mutex_Release( &glVesa_Lock ); - // TODO: Disableable backbuffer - gVesa_BufInfo.BackBuffer = realloc(gVesa_BufInfo.BackBuffer, - modeptr->height * modeptr->pitch); + // TODO: Allow disabling of back-buffer + gVesa_DriverStruct.RootNode.Size = modeptr->height * modeptr->pitch; + gVesa_BufInfo.BackBuffer = realloc(gVesa_BufInfo.BackBuffer, modeptr->height * modeptr->pitch); gVesa_BufInfo.Framebuffer = gpVesa_Framebuffer; gVesa_BufInfo.Pitch = modeptr->pitch; gVesa_BufInfo.Width = modeptr->width;